mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
name refactor to make more concise
This commit is contained in:
parent
a26036a4f9
commit
f80a3312ec
@ -155,7 +155,7 @@ def get_git_log(path):
|
||||
except subprocess.CalledProcessError as _e:
|
||||
print(_e)
|
||||
output = 5 * ['']
|
||||
return {'commit': output[0], 'author': output[1], 'mail': output[2], 'date': output[3], 'message': output[4]}
|
||||
return {'hash': output[0], 'author': output[1], 'mail': output[2], 'date': output[3], 'message': output[4]}
|
||||
|
||||
|
||||
class IntegrationPlugin(MixinBase, plugin.InvenTreePlugin):
|
||||
|
@ -23,7 +23,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class='fas fa-code-branch'></span></td>
|
||||
<td>{% trans "Commit Hash" %}</td><td>{{ plugin.commit.commit }}{% include "clip.html" %}</td>
|
||||
<td>{% trans "Commit Hash" %}</td><td>{{ plugin.commit.hash }}{% include "clip.html" %}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class='fas fa-calendar-alt'></span></td>
|
||||
|
Loading…
Reference in New Issue
Block a user