##// END OF EJS Templates
diffs: add button to browse files at current commit
super-admin -
r4839:ad0bb35b default
parent child Browse files
Show More
@@ -78,6 +78,7 b''
78 <i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${c.commit.raw_id}" title="${_('Copy the full commit id')}"></i>
78 <i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${c.commit.raw_id}" title="${_('Copy the full commit id')}"></i>
79 ${file_base.refs(c.commit)}
79 ${file_base.refs(c.commit)}
80
80
81
81 ## phase
82 ## phase
82 % if hasattr(c.commit, 'phase') and getattr(c.commit, 'phase') != 'public':
83 % if hasattr(c.commit, 'phase') and getattr(c.commit, 'phase') != 'public':
83 <span class="tag phase-${c.commit.phase} tooltip" title="${_('Commit phase')}">
84 <span class="tag phase-${c.commit.phase} tooltip" title="${_('Commit phase')}">
@@ -107,6 +108,10 b''
107 <span id="child_link" class="tag tagtag">
108 <span id="child_link" class="tag tagtag">
108 <a href="#childCommit" title="${_('Child Commit')}">${_('child')}<i class="icon-right icon-no-margin"></i></a>
109 <a href="#childCommit" title="${_('Child Commit')}">${_('child')}<i class="icon-right icon-no-margin"></i></a>
109 </span>
110 </span>
111 <span class="tag tooltip" title="${_('Browse files at this commit')}">
112 <i class="icon-code"></i>
113 <a href="${h.route_path('repo_files', repo_name=c.repo_name, commit_id=c.commit.raw_id, f_path='')}">${_('Browse files')}</a>
114 </span>
110
115
111 </div>
116 </div>
112
117
General Comments 0
You need to be logged in to leave comments. Login now