Git Repos / blogofile_gitview / _templates / gitview / git_repos.mako
Last update to this file was on 2022-01-23 at 14:14.
Show git_repos.mako
<%inherit file="site.mako"/>\
<%
bcgp = bf.config.gitview.path
def clfr(name): return "Commit log and file list for {}".format(name)
%>\
<article><header>
<h2><a href="/${bcgp}/">Git Repos</a> / List</h2>
</header><section class="repolist"><table><tr>
<th class="reponame">Name</th>
<th class="repodesc">Description</th>
<th class="repoauth">Owner</th>
<th class="repodate">Last Commit</th></tr>
% if len(repos) > 0:
% for r in repos:
<tr><td class="reponame">
<a href="/${bcgp}/${r['name']}/" title="${clfr(r['name'])}">${r['name']}</a>
</td><td class="repodesc">${r['desc']}</td>
<td class="repoauth">${r['owner']}</td>
<td class="repodate">${r['last_commit'].strftime("%Y-%m-%d")}</td></tr>
% endfor
% else:
<tr><td colspan="4" style="text-align: center; ">Coming soon</td></tr>
% endif
</table></section>
</article>\
Return to the top of this page or return to the overview of this repo.
Log git_repos.mako
Date | Commit Message | Author | + | - |
---|---|---|---|---|
2022-01-23 | More file extension handling, small template fix | cev | +1 | -1 |
2021-07-25 | Initial commit | cev | +25 |
Return to the top of this page or return to the overview of this repo.