Sha256: 457c1e684f4a4436e5649d4b699ab53e0f048a2a7f717359db38f8659562a5be

Contents?: true

Size: 459 Bytes

Versions: 2

Compression:

Stored size: 459 Bytes

Contents

- if parent
  %a{ :href => parent.empty? ? "/#{idx}" : "/#{idx}#{parent}", :class => "parent" }
    ↪ Back to parent
- else
  %a{ :href => "/", :class => "parent" }
    ↪ Back to selection

%h2
  %span.path= request.path_info.empty? ? '/' : request.path_info
  - if file
    %a{ :href => "?mode=raw" } (raw)
    %a{ :href => "?mode=edit" } (edit)
    %a{ :href => "?mode=delete", :onclick => "javascript:return confirm('Are you sure?')" } (delete)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gitdocs-0.3.6 lib/gitdocs/views/_header.haml
gitdocs-0.3.5 lib/gitdocs/views/_header.haml