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

Commit 433568bcb220a8deba4dfcc4af1771acfb1775a2
Parent: 6ed2fcb20a29503806c01ab0b948705f1537a372
Author: mcol <mcol@posteo.net>
Date: 2021-12-04 16:34:37 +0300
Committer: mcol <mcol@posteo.net>
Committed: 2021-12-04 16:34:58 +0300

Show in docs when log is not showing all commits

templates/docs/repo/log.html Modified

@@ -20,6 +20,13 @@
       <td>{{ commit.author }}</td>
     </tr>
     {% endfor %}
+
+    {% if length(commits) > 50 %}
+    <tr>
+      <td></td>
+      <td colspan="2">More commits not shown.</td>
+    </tr>
+    {% endif %}
   </tbody>
 </table>
 {% endblock %}