Mercurial > kallithea
comparison rhodecode/templates/changelog/changelog.html @ 3760:6302a1423a4e beta
Use changelog controller for displaying history of files.
step 1 for removing obsolete shortlog
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 15 Apr 2013 21:58:40 +0200 |
parents | 93de03499097 |
children | 087b50ef7e17 |
comparison
equal
deleted
inserted
replaced
3759:12ca667b69b6 | 3760:6302a1423a4e |
---|---|
23 ${self.breadcrumbs()} | 23 ${self.breadcrumbs()} |
24 </div> | 24 </div> |
25 <div class="table"> | 25 <div class="table"> |
26 % if c.pagination: | 26 % if c.pagination: |
27 <div id="graph"> | 27 <div id="graph"> |
28 <div class="info_box" style="clear: both;padding: 10px 6px;min-height: 12px;text-align: right;"> | 28 <div style="display:${'none' if c.changelog_for_path else ''}"> |
29 <a href="#" class="ui-btn small" id="rev_range_container" style="display:none"></a> | 29 <div class="info_box" style="clear: both;padding: 10px 6px;min-height: 12px;text-align: right;"> |
30 <a href="#" class="ui-btn small" id="rev_range_clear" style="display:none">${_('Clear selection')}</a> | 30 <a href="#" class="ui-btn small" id="rev_range_container" style="display:none"></a> |
31 | 31 <a href="#" class="ui-btn small" id="rev_range_clear" style="display:none">${_('Clear selection')}</a> |
32 %if c.rhodecode_db_repo.fork: | 32 |
33 <a id="compare_fork" title="${_('Compare fork with %s' % c.rhodecode_db_repo.fork.repo_name)}" href="${h.url('compare_url',repo_name=c.rhodecode_db_repo.fork.repo_name,org_ref_type='branch',org_ref='default',other_repo=c.repo_name,other_ref_type='branch',other_ref=request.GET.get('branch') or 'default',merge=1)}" class="ui-btn small">${_('Compare fork with parent')}</a> | 33 %if c.rhodecode_db_repo.fork: |
34 %endif | 34 <a id="compare_fork" title="${_('Compare fork with %s' % c.rhodecode_db_repo.fork.repo_name)}" href="${h.url('compare_url',repo_name=c.rhodecode_db_repo.fork.repo_name,org_ref_type='branch',org_ref='default',other_repo=c.repo_name,other_ref_type='branch',other_ref=request.GET.get('branch') or 'default',merge=1)}" class="ui-btn small">${_('Compare fork with parent')}</a> |
35 %if h.is_hg(c.rhodecode_repo): | 35 %endif |
36 <a id="open_new_pr" href="${h.url('pullrequest_home',repo_name=c.repo_name)}" class="ui-btn small">${_('Open new pull request')}</a> | 36 %if h.is_hg(c.rhodecode_repo): |
37 %endif | 37 <a id="open_new_pr" href="${h.url('pullrequest_home',repo_name=c.repo_name)}" class="ui-btn small">${_('Open new pull request')}</a> |
38 </div> | 38 %endif |
39 <div class="container_header"> | |
40 ${h.form(h.url.current(),method='get')} | |
41 <div style="float:left"> | |
42 ${h.submit('set',_('Show'),class_="ui-btn")} | |
43 ${h.text('size',size=1,value=c.size)} | |
44 ${_('revisions')} | |
45 </div> | 39 </div> |
46 ${h.end_form()} | 40 <div class="container_header"> |
47 <div style="float:right">${h.select('branch_filter',c.branch_name,c.branch_filters)}</div> | 41 ${h.form(h.url.current(),method='get')} |
42 <div style="float:left"> | |
43 ${h.submit('set',_('Show'),class_="ui-btn")} | |
44 ${h.text('size',size=1,value=c.size)} | |
45 ${_('revisions')} | |
46 </div> | |
47 ${h.end_form()} | |
48 <div style="float:right">${h.select('branch_filter',c.branch_name,c.branch_filters)}</div> | |
49 </div> | |
48 </div> | 50 </div> |
49 <div id="graph_nodes"> | 51 <div id="graph_nodes"> |
50 <canvas id="graph_canvas"></canvas> | 52 <canvas id="graph_canvas"></canvas> |
51 </div> | 53 </div> |
52 <div id="graph_content"> | 54 <div id="graph_content"> |
54 <table id="changesets"> | 56 <table id="changesets"> |
55 <tbody> | 57 <tbody> |
56 %for cnt,cs in enumerate(c.pagination): | 58 %for cnt,cs in enumerate(c.pagination): |
57 <tr id="chg_${cnt+1}" class="container ${'tablerow%s' % (cnt%2)}"> | 59 <tr id="chg_${cnt+1}" class="container ${'tablerow%s' % (cnt%2)}"> |
58 <td class="checkbox"> | 60 <td class="checkbox"> |
59 ${h.checkbox(cs.raw_id,class_="changeset_range")} | 61 %if c.changelog_for_path: |
62 ${h.checkbox(cs.raw_id,class_="changeset_range", disabled="disabled")} | |
63 %else: | |
64 ${h.checkbox(cs.raw_id,class_="changeset_range")} | |
65 %endif | |
60 <td class="status"> | 66 <td class="status"> |
61 %if c.statuses.get(cs.raw_id): | 67 %if c.statuses.get(cs.raw_id): |
62 <div class="changeset-status-ico"> | 68 <div class="changeset-status-ico"> |
63 %if c.statuses.get(cs.raw_id)[2]: | 69 %if c.statuses.get(cs.raw_id)[2]: |
64 <a class="tooltip" title="${_('Click to open associated pull request #%s' % c.statuses.get(cs.raw_id)[2])}" href="${h.url('pullrequest_show',repo_name=c.statuses.get(cs.raw_id)[3],pull_request_id=c.statuses.get(cs.raw_id)[2])}"> | 70 <a class="tooltip" title="${_('Click to open associated pull request #%s' % c.statuses.get(cs.raw_id)[2])}" href="${h.url('pullrequest_show',repo_name=c.statuses.get(cs.raw_id)[3],pull_request_id=c.statuses.get(cs.raw_id)[2])}"> |