Skip to content
Snippets Groups Projects
Commit 1fce0bc5 authored by Nils G.'s avatar Nils G.
Browse files

Add git meta to debug index

parent eda5874e
No related branches found
No related tags found
No related merge requests found
from misc_util import META_GET
def index(): def index():
return dict() return dict(meta=META_GET())
from gluon import *
def META_GET():
return(current.db(current.db.Meta).select().first())
...@@ -19,6 +19,11 @@ ...@@ -19,6 +19,11 @@
</td> </td>
</tr> </tr>
</table> </table>
<br>
This is commit <b>{{=meta.git_commit[:10] if len(meta.git_commit) > 10 else meta.git_commit}}</b> from <b>{{=meta.git_date}}</b> - show on
<a href="https://git.noc.ruhr-uni-bochum.de/studienprojekt-ss20/lynchburg-server/-/commit/{{=meta.git_commit}}">GitLab</a><br>
Database from: {{=meta.creation}}
<script type="text/javascript"> <script type="text/javascript">
$('form').submit(function(){ $('form').submit(function(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment