Fixed branch display.
This commit is contained in:
parent
4c347b18e4
commit
dc854bb7d5
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
''|date('Y') }} /
|
''|date('Y') }} /
|
||||||
{{ ('https://github.com/flashwave/misuzu/tree/' ~ git_tag)|html_link(git_tag, 'footer__link') }}
|
{{ ('https://github.com/flashwave/misuzu/tree/' ~ git_tag)|html_link(git_tag, 'footer__link') }}
|
||||||
# {{ ('https://github.com/flashwave/misuzu/commit/' ~ git_commit_hash(true))|html_link(git_commit_hash(), 'footer__link') }}
|
# {{ ('https://github.com/flashwave/misuzu/commit/' ~ git_commit_hash(true))|html_link(git_commit_hash(), 'footer__link') }}
|
||||||
{% if git_branch != 'master' %}
|
{% if git_branch != 'HEAD' %}
|
||||||
({{ ('https://github.com/flashwave/misuzu/tree/' ~ git_branch)|html_link(git_branch, 'footer__link') }})
|
({{ ('https://github.com/flashwave/misuzu/tree/' ~ git_branch)|html_link(git_branch, 'footer__link') }})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if constant('MSZ_DEBUG') or current_user.user_id|default(0) == 1 %}
|
{% if constant('MSZ_DEBUG') or current_user.user_id|default(0) == 1 %}
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
''|date('Y') }} /
|
''|date('Y') }} /
|
||||||
{{ ('https://github.com/flashwave/misuzu/tree/' ~ git_tag)|html_link(git_tag, 'footer__link') }}
|
{{ ('https://github.com/flashwave/misuzu/tree/' ~ git_tag)|html_link(git_tag, 'footer__link') }}
|
||||||
# {{ ('https://github.com/flashwave/misuzu/commit/' ~ git_commit_hash(true))|html_link(git_commit_hash(), 'footer__link') }}
|
# {{ ('https://github.com/flashwave/misuzu/commit/' ~ git_commit_hash(true))|html_link(git_commit_hash(), 'footer__link') }}
|
||||||
{% if git_branch != 'master' %}
|
{% if git_branch != 'HEAD' %}
|
||||||
({{ ('https://github.com/flashwave/misuzu/tree/' ~ git_branch)|html_link(git_branch, 'footer__link') }})
|
({{ ('https://github.com/flashwave/misuzu/tree/' ~ git_branch)|html_link(git_branch, 'footer__link') }})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue