##// END OF EJS Templates
cache-keys: fix inifinite look of using atexit with signals....
cache-keys: fix inifinite look of using atexit with signals. This prevented a grafecull shutdown of gunicorn workers.

File last commit:

r4294:d4e644bf default
r4853:5793cdd5 default
Show More
base.mako
59 lines | 2.2 KiB | application/x-mako | MakoHtmlLexer
dan
files: fixed the repo switcher at flag beeing nor persistens...
r4294 <%def name="refs(commit, at_rev=None)">
## Build a cache of refs for selector, based on this the files ref selector gets pre-selected values
gravatars: reduce the size of fonts inside the initials gravatar
r3654 <script>
dan
files: fixed the repo switcher at flag beeing nor persistens...
r4294 fileTreeRefs = {}
</script>
gravatars: reduce the size of fonts inside the initials gravatar
r3654
dan
files: fixed the repo switcher at flag beeing nor persistens...
r4294 % if h.is_svn(c.rhodecode_repo):
## since SVN doesn't have an commit<->refs association, we simply inject it
## based on our at_rev marker
% if at_rev and at_rev.startswith('branches/'):
<%
commit.branch = at_rev
%>
% endif
% if at_rev and at_rev.startswith('tags/'):
<%
commit.tags.append(at_rev)
%>
% endif
% endif
gravatars: reduce the size of fonts inside the initials gravatar
r3654
templating: use .mako as extensions for template files.
r1282 %if commit.merge:
<span class="mergetag tag">
<i class="icon-merge">${_('merge')}</i>
</span>
%endif
%if h.is_hg(c.rhodecode_repo):
%for book in commit.bookmarks:
dan
tooltip: use consistent h.tooltip usage to set tooltips.
r1843 <span class="booktag tag" title="${h.tooltip(_('Bookmark %s') % book)}">
files: ported repository files controllers to pyramid views.
r1927 <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=commit.raw_id,_query=dict(at=book))}"><i class="icon-bookmark"></i>${h.shorter(book)}</a>
templating: use .mako as extensions for template files.
r1282 </span>
gravatars: reduce the size of fonts inside the initials gravatar
r3654 <script>
ui: new file tree switcher...
r3655 fileTreeRefs["${book}"] = {raw_id: "${commit.raw_id}", type:"book", text: "${book}"};
gravatars: reduce the size of fonts inside the initials gravatar
r3654 </script>
templating: use .mako as extensions for template files.
r1282 %endfor
%endif
%for tag in commit.tags:
dan
tooltip: use consistent h.tooltip usage to set tooltips.
r1843 <span class="tagtag tag" title="${h.tooltip(_('Tag %s') % tag)}">
files: ported repository files controllers to pyramid views.
r1927 <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=commit.raw_id,_query=dict(at=tag))}"><i class="icon-tag"></i>${tag}</a>
templating: use .mako as extensions for template files.
r1282 </span>
gravatars: reduce the size of fonts inside the initials gravatar
r3654 <script>
ui: new file tree switcher...
r3655 fileTreeRefs["${tag}"] = {raw_id: "${commit.raw_id}", type:"tag", text: "${tag}"};
gravatars: reduce the size of fonts inside the initials gravatar
r3654 </script>
templating: use .mako as extensions for template files.
r1282 %endfor
%if commit.branch:
dan
tooltip: use consistent h.tooltip usage to set tooltips.
r1843 <span class="branchtag tag" title="${h.tooltip(_('Branch %s') % commit.branch)}">
files: ported repository files controllers to pyramid views.
r1927 <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=commit.raw_id,_query=dict(at=commit.branch))}"><i class="icon-code-fork"></i>${h.shorter(commit.branch)}</a>
templating: use .mako as extensions for template files.
r1282 </span>
gravatars: reduce the size of fonts inside the initials gravatar
r3654 <script>
ui: new file tree switcher...
r3655 fileTreeRefs["${commit.branch}"] = {raw_id: "${commit.raw_id}", type:"branch", text: "${commit.branch}"};
gravatars: reduce the size of fonts inside the initials gravatar
r3654 </script>
templating: use .mako as extensions for template files.
r1282 %endif
</%def>