Show More
@@ -2544,8 +2544,8 b' h3.files_location {' | |||||
2544 | } |
|
2544 | } | |
2545 |
|
2545 | |||
2546 | #graph_content #rev_range_container { |
|
2546 | #graph_content #rev_range_container { | |
2547 | padding: 7px 20px; |
|
|||
2548 | float: left; |
|
2547 | float: left; | |
|
2548 | margin: 0px 0px 0px 3px; | |||
2549 | } |
|
2549 | } | |
2550 |
|
2550 | |||
2551 | #graph_content .container { |
|
2551 | #graph_content .container { |
@@ -33,6 +33,7 b'' | |||||
33 | </div> |
|
33 | </div> | |
34 | <div id="graph_content"> |
|
34 | <div id="graph_content"> | |
35 | <div class="info_box" style="clear: both;padding: 10px 6px;vertical-align: right;text-align: right;"> |
|
35 | <div class="info_box" style="clear: both;padding: 10px 6px;vertical-align: right;text-align: right;"> | |
|
36 | <a href="#" class="ui-btn small" id="rev_range_container" style="display:none"></a> | |||
36 | %if c.rhodecode_db_repo.fork: |
|
37 | %if c.rhodecode_db_repo.fork: | |
37 | <a title="${_('compare fork with %s' % c.rhodecode_db_repo.fork.repo_name)}" href="${h.url('compare_url',repo_name=c.repo_name,org_ref_type='branch',org_ref='default',other_ref_type='branch',other_ref='default',repo=c.rhodecode_db_repo.fork.repo_name)}" class="ui-btn small">${_('Compare fork')}</a> |
|
38 | <a title="${_('compare fork with %s' % c.rhodecode_db_repo.fork.repo_name)}" href="${h.url('compare_url',repo_name=c.repo_name,org_ref_type='branch',org_ref='default',other_ref_type='branch',other_ref='default',repo=c.rhodecode_db_repo.fork.repo_name)}" class="ui-btn small">${_('Compare fork')}</a> | |
38 | %endif |
|
39 | %endif | |
@@ -48,7 +49,6 b'' | |||||
48 | ${_('revisions')} |
|
49 | ${_('revisions')} | |
49 | </div> |
|
50 | </div> | |
50 | ${h.end_form()} |
|
51 | ${h.end_form()} | |
51 | <div id="rev_range_container" style="display:none"></div> |
|
|||
52 | <div style="float:right">${h.select('branch_filter',c.branch_name,c.branch_filters)}</div> |
|
52 | <div style="float:right">${h.select('branch_filter',c.branch_name,c.branch_filters)}</div> | |
53 | </div> |
|
53 | </div> | |
54 |
|
54 | |||
@@ -161,15 +161,15 b'' | |||||
161 | var url = url_tmpl.replace('__REVRANGE__', |
|
161 | var url = url_tmpl.replace('__REVRANGE__', | |
162 | rev_start+'...'+rev_end); |
|
162 | rev_start+'...'+rev_end); | |
163 |
|
163 | |||
164 |
var link = " |
|
164 | var link = "${_('Show selected changes __S -> __E')}"; | |
165 | link = link.replace('__S',rev_start.substr(0,6)); |
|
165 | link = link.replace('__S',rev_start.substr(0,6)); | |
166 | link = link.replace('__E',rev_end.substr(0,6)); |
|
166 | link = link.replace('__E',rev_end.substr(0,6)); | |
|
167 | YUD.get('rev_range_container').href = url; | |||
167 | YUD.get('rev_range_container').innerHTML = link; |
|
168 | YUD.get('rev_range_container').innerHTML = link; | |
168 | YUD.setStyle('rev_range_container','display',''); |
|
169 | YUD.setStyle('rev_range_container','display',''); | |
169 | } |
|
170 | } | |
170 | else{ |
|
171 | else{ | |
171 | YUD.setStyle('rev_range_container','display','none'); |
|
172 | YUD.setStyle('rev_range_container','display','none'); | |
172 |
|
||||
173 | } |
|
173 | } | |
174 | }); |
|
174 | }); | |
175 |
|
175 |
General Comments 0
You need to be logged in to leave comments.
Login now