##// END OF EJS Templates
fixed bookmarks error on git
marcink -
r3541:8fae9388 beta
parent child Browse files
Show More
@@ -84,12 +84,13 b''
84 </div>
84 </div>
85 </div>
85 </div>
86 %endif
86 %endif
87 %for book in cs.bookmarks:
87 %if h.is_hg(c.rhodecode_repo):
88 <div class="bookbook" title="${'%s %s' % (_('bookmark'),book)}">
88 %for book in cs.bookmarks:
89 ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
89 <div class="bookbook" title="${'%s %s' % (_('bookmark'),book)}">
90 </div>
90 ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
91
91 </div>
92 %endfor
92 %endfor
93 %endif
93 %for tag in cs.tags:
94 %for tag in cs.tags:
94 <div class="tagtag" title="${'%s %s' % (_('tag'),tag)}">
95 <div class="tagtag" title="${'%s %s' % (_('tag'),tag)}">
95 ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
96 ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
@@ -194,7 +194,7 b''
194 </li>
194 </li>
195 %if c.rhodecode_user.username != 'default':
195 %if c.rhodecode_user.username != 'default':
196 <li class="repo_size">
196 <li class="repo_size">
197 <a href="#" class="repo-size" onclick="javascript:showRepoSize('repo_size_2','${c.dbrepo.repo_name}','${str(h.get_token())}')">Calculate Repository Size</a>
197 <a href="#" class="repo-size" onclick="javascript:showRepoSize('repo_size_2','${c.dbrepo.repo_name}','${str(h.get_token())}')">Repository Size</a>
198 <span id="repo_size_2"></span>
198 <span id="repo_size_2"></span>
199 </li>
199 </li>
200 %endif
200 %endif
General Comments 0
You need to be logged in to leave comments. Login now