109:6cbbab799f3c
Anton Shestakov <av6@dwimlabs.net>, 2016-07-05
viewer: provide change/branch links for projects (i.e. on Bitbucket)

next change 115:2311bfce57b4
previous change 104:809ad2845e50

templates/project.html

Other formats: Feeds:
Inserted Replaced Deleted
108:4fced0617745 109:6cbbab799f3c
</dl> </dl>
<table class="uk-table uk-table-middle uk-text-nowrap"> <table class="uk-table uk-table-middle uk-text-nowrap">
<tbody> <tbody>
{% for check in checks %} {% for check in checks %}
{% set change = check.change %} {% set change = check.change %}
{% set adapter = project.get_adapter() %}
<tr> <tr>
<td>{% module Badges(check) %}</td> <td>{% module Badges(check) %}</td>
<td><a href="{{ check.get_url() }}">check #{{ check.ordinal }}</a></td> <td><a href="{{ check.get_url() }}">check #{{ check.ordinal }}</a></td>
<td>{{ change.branch }}</td> <td><a href="{{ adapter.get_branch_url(change) }}">{{ change.branch }}</a></td>
<td>{{ change.rev }}:{{ change.node[:12] }}</td> <td><a href="{{ adapter.get_commit_url(change) }}">{{ change.rev }}:{{ change.node[:12] }}</a></td>
<td class="uk-width-1-1 uk-text-break"> <td class="uk-width-1-1 uk-text-break">
<div>{{ change.message }}</div> <div>{{ change.message }}</div>
<div>{{ change.author }}, {% module Time(change.date, False) %}</div> <div>{{ change.author }}, {% module Time(change.date, False) %}</div>
</td> </td>
<td>{% module Time(check.finished) %}</td> <td>{% module Time(check.finished) %}</td>