hanna-nouveau 1.0.4 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,48 +0,0 @@
1
- - file_page = !values[:classmod]
2
- - title_in_description = values[:entry].description && values[:entry].description =~ /^\s*<h1>/m
3
-
4
- .header
5
- - title = capture_haml do
6
- - if file_page
7
- = values[:file].name
8
- - else
9
- %span.type= values[:classmod]
10
- = values[:entry].full_name
11
- - if title_in_description
12
- .name= title
13
- - else
14
- %h1.name= title
15
-
16
- - if file_page
17
- .paths
18
- = values[:file].relative_name
19
- - else
20
- %ol.paths
21
- - values[:entry].in_files.each_with_index do |file, index|
22
- %li{ :class => index > 0 ? 'other' : nil }
23
- -# FIXME cleanup
24
- = link_to file.full_name, Pathname.new(file.path).relative_path_from(Pathname.new(values[:entry].path).dirname)
25
- - if values[:entry].in_files.size > 1
26
- %li
27
- %a.show{ :href => '#', :onclick => 'this.parentNode.parentNode.className += " expanded"; this.parentNode.removeChild(this); return false' } show all
28
-
29
- - if !file_page && values[:entry].type == "class"
30
- .parent
31
- Superclass:
32
- - if values[:entry].superclass.kind_of?(String) || !values[:entry].superclass
33
- %strong= values[:entry].superclass
34
- - else
35
- %strong= link_to values[:entry].superclass.name, Pathname.new(class_dir) + Pathname.new(values[:entry].superclass.path).relative_path_from(Pathname.new values[:entry].path)
36
-
37
-
38
- - if values[:entry].respond_to?(:last_modified) and values[:entry].last_modified
39
- .last-update
40
- Last Update:
41
- %span.datetime= values[:entry].last_modified
42
-
43
- #content
44
- #text
45
- - if values[:description]
46
- #description~ sanitize_code_blocks frame_link values[:description]
47
-
48
- = frame_link yield