🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

-rw-r--r-- templates/docs/repo/log.html


      1 {% extends "../template.html.include" %}
      2 
      3 {%- block title %}log{% endblock -%}
      4 
      5 {% block body %}
      6 <table id="log">
      7   <thead>
      8     <tr>
      9       <td><b>Date</b></td>
     10       <td><b>Commit message</b></td>
     11       <td><b>Author</b></td>
     12     </tr>
     13   </thead>
     14 
     15   <tbody>
     16     {% for commit in commits[:50] %}
     17     <tr>
     18       <td>{{ commit.authored[:16] }}</td>
     19       <td><a href="{{ host }}/{{ name }}/commit/{{ commit.id }}.html">{{ commit.title }}</a></td>
     20       <td>{{ commit.author }}</td>
     21     </tr>
     22     {% endfor %}
     23 
     24     {% if length(commits) > 50 %}
     25     <tr>
     26       <td></td>
     27       <td colspan="2">More commits not shown.</td>
     28     </tr>
     29     {% endif %}
     30   </tbody>
     31 </table>
     32 {% endblock %}
     33