##// END OF EJS Templates
files: make sure code tags don't have excesive spacing.
marcink -
r1473:336b26f2 default
parent child Browse files
Show More
@@ -1,74 +1,69 b''
1 <%namespace name="file_base" file="/files/base.mako"/>
1 <%namespace name="file_base" file="/files/base.mako"/>
2
2
3 <div class="fieldset collapsable-content no-hide" data-toggle="summary-details">
3 <div class="fieldset collapsable-content no-hide" data-toggle="summary-details">
4 <div class="left-label">
4 <div class="left-label">
5 ${_('Commit Description')}:
5 ${_('Commit Description')}:
6 </div>
6 </div>
7 <div class="commit right-content truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div>
7 <div class="commit right-content truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div>
8 </div>
8 </div>
9
9
10 <div class="fieldset collapsable-content" data-toggle="summary-details">
10 <div class="fieldset collapsable-content" data-toggle="summary-details">
11 <div class="left-label">
11 <div class="left-label">
12 ${_('Commit Description')}:
12 ${_('Commit Description')}:
13 </div>
13 </div>
14 <div class="commit right-content">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div>
14 <div class="commit right-content">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div>
15 </div>
15 </div>
16
16
17
17
18 <div class="fieldset " data-toggle="summary-details">
18 <div class="fieldset " data-toggle="summary-details">
19 <div class="left-label">
19 <div class="left-label">
20 ${_('References')}:
20 ${_('References')}:
21 </div>
21 </div>
22 <div class="right-content">
22 <div class="right-content">
23 <div class="tags tags-main">
23 <div class="tags tags-main">
24 <code>
24 <code><a href="${h.url('changeset_home',repo_name=c.repo_name,revision=c.commit.raw_id)}">${h.show_id(c.commit)}</a></code>
25 <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=c.commit.raw_id)}">${h.show_id(c.commit)}</a>
26 </code>
27
28 ${file_base.refs(c.commit)}
25 ${file_base.refs(c.commit)}
29 </div>
26 </div>
30 </div>
27 </div>
31 </div>
28 </div>
32
29
33 <div class="fieldset collapsable-content" data-toggle="summary-details">
30 <div class="fieldset collapsable-content" data-toggle="summary-details">
34 <div class="left-label">
31 <div class="left-label">
35 ${_('File last commit')}:
32 ${_('File last commit')}:
36 </div>
33 </div>
37 <div class="right-content">
34 <div class="right-content">
38 <div class="tags">
35 <div class="tags">
39 <code>
36 <code><a href="${h.url('changeset_home',repo_name=c.repo_name,revision=c.file_last_commit.raw_id)}">${h.show_id(c.file_last_commit)}</a></code>
40 <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=c.file_last_commit.raw_id)}">${h.show_id(c.file_last_commit)}</a>
41 </code>
42
37
43 ${file_base.refs(c.file_last_commit)}
38 ${file_base.refs(c.file_last_commit)}
44 </div>
39 </div>
45 </div>
40 </div>
46 </div>
41 </div>
47
42
48
43
49 <div class="fieldset collapsable-content" data-toggle="summary-details">
44 <div class="fieldset collapsable-content" data-toggle="summary-details">
50 <div class="left-label">
45 <div class="left-label">
51 ${_('Show/Diff file')}:
46 ${_('Show/Diff file')}:
52 </div>
47 </div>
53 <div class="right-content">
48 <div class="right-content">
54 ${h.hidden('diff1')}
49 ${h.hidden('diff1')}
55 ${h.hidden('diff2',c.commit.raw_id)}
50 ${h.hidden('diff2',c.commit.raw_id)}
56 ${h.hidden('annotate', c.annotate)}
51 ${h.hidden('annotate', c.annotate)}
57 </div>
52 </div>
58 </div>
53 </div>
59
54
60
55
61 <div class="fieldset collapsable-content" data-toggle="summary-details">
56 <div class="fieldset collapsable-content" data-toggle="summary-details">
62 <div class="left-label">
57 <div class="left-label">
63 ${_('Action')}:
58 ${_('Action')}:
64 </div>
59 </div>
65 <div class="right-content">
60 <div class="right-content">
66 ${h.submit('diff_to_commit',_('Diff to Commit'),class_="btn disabled",disabled="true")}
61 ${h.submit('diff_to_commit',_('Diff to Commit'),class_="btn disabled",disabled="true")}
67 ${h.submit('show_at_commit',_('Show at Commit'),class_="btn disabled",disabled="true")}
62 ${h.submit('show_at_commit',_('Show at Commit'),class_="btn disabled",disabled="true")}
68 </div>
63 </div>
69 </div>
64 </div>
70
65
71
66
72 <script>
67 <script>
73 collapsableContent();
68 collapsableContent();
74 </script> No newline at end of file
69 </script>
General Comments 0
You need to be logged in to leave comments. Login now