Fix #126
Jonas Haag
6 years ago
63 | 63 |
<span class=line2>
|
64 | 64 |
<span>
|
65 | 65 |
{{ commit.author|force_unicode|extract_author_name }}
|
|
66 |
{% if commit.author != commit.committer %}
|
|
67 |
(committed by: {{ commit.committer|force_unicode|extract_author_name }})
|
|
68 |
{% endif %}
|
66 | 69 |
</span>
|
67 | 70 |
<span title="{{ commit.commit_time|formattimestamp }}">
|
68 | 71 |
{{ commit.commit_time|timesince }}
|
15 | 15 |
<span>{{ commit.message|force_unicode }}</span>
|
16 | 16 |
</span>
|
17 | 17 |
<span class="line2 separated-by-dots">
|
18 | |
<span>
|
19 | |
{{ commit.author|force_unicode|extract_author_name }}
|
20 | |
</span>
|
21 | |
<span class=hastooltip title="{{ commit.commit_time|formattimestamp }}">
|
22 | |
{{ commit.commit_time|timesince }}
|
23 | |
</span>
|
|
18 |
{% if commit.author != commit.committer %}
|
|
19 |
<span>{{ commit.author|force_unicode|extract_author_name }} authored <span class=hastooltip title="{{ commit.author_time|formattimestamp }}">{{ commit.author_time|timesince }}</span></span>
|
|
20 |
<span>{{ commit.committer|force_unicode|extract_author_name }} committed <span class=hastooltip title="{{ commit.commit_time|formattimestamp }}">{{ commit.commit_time|timesince }}</span></span>
|
|
21 |
{% else %}
|
|
22 |
<span>{{ commit.committer|force_unicode|extract_author_name }}</span>
|
|
23 |
<span class=hastooltip title="{{ commit.commit_time|formattimestamp }}">{{ commit.commit_time|timesince }}</span>
|
|
24 |
{% endif %}
|
24 | 25 |
</span>
|
25 | 26 |
<span class=clearfloat></span>
|
26 | 27 |
</div>
|
23 | 23 |
repos = sorted(current_app.repos, key=sort_key, reverse=reverse)
|
24 | 24 |
return render_template('repo_list.html', repos=repos)
|
25 | 25 |
|
|
26 |
|
26 | 27 |
def robots_txt():
|
27 | 28 |
"""Serves the robots.txt file to manage the indexing of the site by search enginges"""
|
28 | 29 |
return current_app.send_static_file('robots.txt')
|
|
30 |
|
29 | 31 |
|
30 | 32 |
class BaseRepoView(View):
|
31 | 33 |
"""
|