mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	name refactor to make more concise
This commit is contained in:
		| @@ -155,7 +155,7 @@ def get_git_log(path): | |||||||
|     except subprocess.CalledProcessError as _e: |     except subprocess.CalledProcessError as _e: | ||||||
|         print(_e) |         print(_e) | ||||||
|         output = 5 * [''] |         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): | class IntegrationPlugin(MixinBase, plugin.InvenTreePlugin): | ||||||
|   | |||||||
| @@ -23,7 +23,7 @@ | |||||||
|             </tr> |             </tr> | ||||||
|             <tr> |             <tr> | ||||||
|                 <td><span class='fas fa-code-branch'></span></td> |                 <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> | ||||||
|             <tr> |             <tr> | ||||||
|                 <td><span class='fas fa-calendar-alt'></span></td> |                 <td><span class='fas fa-calendar-alt'></span></td> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user