Klaus Demo ~jonashaag/klaus / 96a306a
Fix #126 Jonas Haag 6 years ago
3 changed file(s) with 12 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
6363 <span class=line2>
6464 <span>
6565 {{ 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 %}
6669 </span>
6770 <span title="{{ commit.commit_time|formattimestamp }}">
6871 {{ commit.commit_time|timesince }}
1515 <span>{{ commit.message|force_unicode }}</span>
1616 </span>
1717 <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 %}
2425 </span>
2526 <span class=clearfloat></span>
2627 </div>
2323 repos = sorted(current_app.repos, key=sort_key, reverse=reverse)
2424 return render_template('repo_list.html', repos=repos)
2525
26
2627 def robots_txt():
2728 """Serves the robots.txt file to manage the indexing of the site by search enginges"""
2829 return current_app.send_static_file('robots.txt')
30
2931
3032 class BaseRepoView(View):
3133 """