summaryrefslogtreecommitdiffstats
path: root/gitsrht/app.py
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-21 11:23:22 -0400
committerDrew DeVault <sir@cmpwn.com>2018-09-21 11:23:22 -0400
commit00c7ddced5cd820c54420ad785eed21918bf7eba (patch)
tree7d7bda00c685dbf3a5bef70c51321b4cab24d165 /gitsrht/app.py
parent3e413e73bb278699f90b63310ab0cb879c494b32 (diff)
Make repo summary page real
Diffstat (limited to 'gitsrht/app.py')
-rw-r--r--gitsrht/app.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitsrht/app.py b/gitsrht/app.py
index d85997d..a0704cb 100644
--- a/gitsrht/app.py
+++ b/gitsrht/app.py
@@ -10,6 +10,7 @@ from gitsrht.types import User
db.init()
import gitsrht.oauth
+from gitsrht.git import commit_time, trim_commit
class GitApp(SrhtFlask):
def __init__(self):
@@ -39,6 +40,8 @@ class GitApp(SrhtFlask):
if notice:
del session["notice"]
return {
+ "trim_commit": trim_commit,
+ "commit_time": commit_time,
"notice": notice
}