##// END OF EJS Templates
integrations: refactor/cleanup + features, fixes #4181...
integrations: refactor/cleanup + features, fixes #4181 * added scopes on integrations, scopes are: - repo only - repogroup children only - root repos only - global (any repo) * integrations schemas now have separate section for the settings (eg. slack) and options (eg. scope/enabled) * added descriptions to integration types * added icons to integration types * added 'create new' integration page * added scope of integration to integrations list * added breadcrumbs for each repo/repogroup/global integrations pages * added sorting to integrations list * added pagination to integrations list * added icons to integrations list * added type filter to integrations list * added message to integrations list if none we found * added extra permissions check on integrations views * db migration from 56 => 57 - adds child_repos_only field * added tests for integrations triggered on events * added tests for integrations schemas * added tests for integrations views for repo/repogroup/admin

File last commit:

r1:854a839a default
r731:7a6d3636 default
Show More
tags_data.html
29 lines | 980 B | text/html | HtmlLexer
## DATA TABLE RE USABLE ELEMENTS FOR TAGS
## usage:
## <%namespace name="tags" file="/tags/tags_data.html"/>
## tags.<func_name>(arg,arg2)
<%def name="compare(commit_id)">
<input class="compare-radio-button" type="radio" name="compare_source" value="${commit_id}"/>
<input class="compare-radio-button" type="radio" name="compare_target" value="${commit_id}"/>
</%def>
<%def name="name(name, files_url)">
<span class="tagtag tag" title="${_('Tag %s') % (name,)}">
<a href="${files_url}"><i class="icon-tag"></i>${name}</a>
</span>
</%def>
<%def name="date(date)">
${h.age_component(date)}
</%def>
<%def name="author(author)">
<span class="tooltip" title="${author}">${h.link_to_user(author)}</span>
</%def>
<%def name="commit(message, commit_id, commit_idx)">
<div>
<pre><a title="${message}" href="${h.url('files_home',repo_name=c.repo_name,revision=commit_id)}">r${commit_idx}:${h.short_id(commit_id)}</a></pre>
</div>
</%def>