Git Repos / blogofile_gitview / _templates / gitview / git_file_list.mako
Last update to this file was on 2021-07-31 at 09:27.
Show git_file_list.mako
<%page args="files"/>\
<%
objdir = bf.config.gitview.objdir
def trunc_fname(fullname):
if len(fullname) > 60:
fnamel = fullname.split('/')
fnamet = "{}/.../{}".format(fnamel[0], fnamel[len(fnamel) - 1])
return fnamet
else: return fullname
%>\
<section class="files"><table><tr>
<th class="filemode">Mode</th>
<th class="filename">Name</th>
<th class="filesize">Size</th></tr>
% for f in files:
<tr><td class="filemode">${f['mode']}</td>
<td class="filename">
<a href="${objdir}/${f['sfname']}.html">${trunc_fname(f['fullname'])}</a></td>
<td class="filesize">${f['objsize']}</td></tr>
% endfor
</table></section>\
Return to the top of this page or return to the overview of this repo.
Log git_file_list.mako
Date | Commit Message | Author | + | - |
---|---|---|---|---|
2021-07-31 | Implement branches & tags, various other changes | cev | +3 | -4 |
2021-07-25 | Files that start with a '.' might cause problems. Fix? | cev | +1 | -1 |
2021-07-25 | Initial commit | cev | +22 |
Return to the top of this page or return to the overview of this repo.