##// END OF EJS Templates
ui: fixed commit range page
dan -
r3759:d422b6a5 new-ui
parent child Browse files
Show More
@@ -326,6 +326,9 b''
326 326 .commit-date {
327 327 color: @grey4;
328 328 }
329 .fieldset-text-line {
330 line-height: 36px;
331 }
329 332 }
330 333
331 334 // expand commit message
@@ -12,13 +12,7 b''
12 12 %endif
13 13 </%def>
14 14
15 <%def name="breadcrumbs_links()">
16 ${_('Commits')} -
17 r${c.commit_ranges[0].idx}:${h.short_id(c.commit_ranges[0].raw_id)}
18 ...
19 r${c.commit_ranges[-1].idx}:${h.short_id(c.commit_ranges[-1].raw_id)}
20 ${_ungettext('(%s commit)','(%s commits)', len(c.commit_ranges)) % len(c.commit_ranges)}
21 </%def>
15 <%def name="breadcrumbs_links()"></%def>
22 16
23 17 <%def name="menu_bar_nav()">
24 18 ${self.menu_items(active='repositories')}
@@ -29,25 +23,43 b''
29 23 </%def>
30 24
31 25 <%def name="main()">
32
26 <div class="box">
33 27 <div class="summary changeset">
34 28 <div class="summary-detail">
35 29 <div class="summary-detail-header">
36 30 <span class="breadcrumbs files_location">
37 31 <h4>
38 32 ${_('Commit Range')}
39 <code>
40 r${c.commit_ranges[0].idx}:${h.short_id(c.commit_ranges[0].raw_id)}...r${c.commit_ranges[-1].idx}:${h.short_id(c.commit_ranges[-1].raw_id)}
41 </code>
42 33 </h4>
43 34 </span>
35
36 <div class="clear-fix"></div>
44 37 </div>
45 38
46 39 <div class="fieldset">
47 <div class="left-label">
48 ${_('Diff option')}:
40 <div class="left-label-summary">
41 <p class="spacing">${_('Range')}:</p>
42 <div class="right-label-summary">
43 <div class="code-header" >
44 <div class="compare_header">
45 <code class="fieldset-text-line">
46 r${c.commit_ranges[0].idx}:${h.short_id(c.commit_ranges[0].raw_id)}
47 ...
48 r${c.commit_ranges[-1].idx}:${h.short_id(c.commit_ranges[-1].raw_id)}
49 ${_ungettext('(%s commit)','(%s commits)', len(c.commit_ranges)) % len(c.commit_ranges)}
50 </code>
49 51 </div>
50 <div class="right-content">
52 </div>
53 </div>
54 </div>
55 </div>
56
57 <div class="fieldset">
58 <div class="left-label-summary">
59 <p class="spacing">${_('Diff Option')}:</p>
60 <div class="right-label-summary">
61 <div class="code-header" >
62 <div class="compare_header">
51 63 <div class="btn btn-primary">
52 64 <a href="${h.route_path('repo_compare',
53 65 repo_name=c.repo_name,
@@ -56,14 +68,17 b''
56 68 target_ref_type='rev',
57 69 target_ref=c.commit_ranges[-1].raw_id)}"
58 70 >
59 ${_('Show combined compare')}
71 ${_('Show combined diff')}
60 72 </a>
61 73 </div>
62 74 </div>
63 75 </div>
76 </div>
77 </div>
78 </div>
64 79
80 <div class="clear-fix"></div>
65 81 </div> <!-- end summary-detail -->
66
67 82 </div> <!-- end summary -->
68 83
69 84 <div id="changeset_compare_view_content">
@@ -99,4 +114,6 b''
99 114 %endfor
100 115 </div>
101 116 </div>
117 </div>
118
102 119 </%def>
@@ -279,8 +279,6 b''
279 279
280 280 ## table diff data
281 281 <div class="table">
282
283
284 282 % if not c.compare_home:
285 283 <div id="changeset_compare_view_content">
286 284 <div class="pull-left">
General Comments 0
You need to be logged in to leave comments. Login now