mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
b32a9ed597
- Accessible from the top-right dropdown menu - Add InvenTree/version.py which contains helper functions
40 lines
1.6 KiB
HTML
40 lines
1.6 KiB
HTML
{% load static %}
|
|
{% load inventree_extras %}
|
|
|
|
<div class='modal fade modal-fixed-footer' tabindex='-1' role='dialog' id='modal-about'>
|
|
<div class='modal-dialog'>
|
|
<div class='modal-content'>
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
<img src="{% static 'img/inventree.png' %}" height='60' style='float: left;' alt='Inventree Logo'>
|
|
</div>
|
|
<div class='modal-form-content'>
|
|
<div>
|
|
<!--
|
|
-->
|
|
<h4>InvenTree Version Information</h4>
|
|
<table class='table table-striped table-condensed'>
|
|
<tr>
|
|
<td>Version</td><td>{% inventree_version %}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Commit Hash</td><td>{% inventree_commit %}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>View Code on GitHub</td><td><a href="{% inventree_github %}">{% inventree_github %}</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<div class='modal-footer'>
|
|
<button type='button' class='btn btn-default' data-dismiss='modal'>Close</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |