Sha256: f2312add8b1e2914c0ab1006ba53fe707d318bd875b662ef3d4e02ccddb4fb48

Contents?: true

Size: 487 Bytes

Versions: 5

Compression:

Stored size: 487 Bytes

Contents

%h1= root

- 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
  %a{ :href => "?mode=raw" } (raw)
  %a{ :href => "?mode=edit" } (edit)
  %a{ :href => "?mode=delete", :onclick => "javascript:return confirm('Are you sure?')" } (delete)

.contents
  = preserve contents

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gitdocs-0.3.4 lib/gitdocs/views/file.haml
gitdocs-0.3.3 lib/gitdocs/views/file.haml
gitdocs-0.3.2 lib/gitdocs/views/file.haml
gitdocs-0.3.1 lib/gitdocs/views/file.haml
gitdocs-0.3.0 lib/gitdocs/views/file.haml