lib/gitdocs/views/_header.haml in gitdocs-0.3.6 vs lib/gitdocs/views/_header.haml in gitdocs-0.4.0
- old
+ new
@@ -1,12 +1,5 @@
-- if parent
- %a{ :href => parent.empty? ? "/#{idx}" : "/#{idx}#{parent}", :class => "parent" }
- ↪ Back to parent
-- else
- %a{ :href => "/", :class => "parent" }
- ↪ Back to selection
-
-%h2
+%h2.path
%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)
\ No newline at end of file