-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#21] display version in admin #155
Conversation
{% block footer %} | ||
<div id="footer"> | ||
{% url 'admin:login' as admin_login_url %} | ||
{% if request.path != admin_login_url %} | ||
<div class="version" title="Git SHA: {{ settings.GIT_SHA|default:'' }}"> | ||
{% blocktrans with version=settings.RELEASE %}version {{ version }}{% endblocktrans %} | ||
</div> | ||
{% endif %} | ||
</div> | ||
{% endblock %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this is something that should be part of open-api-framework, @annashamray thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar question with the ENVIRONMENT_SHOWN_IN_ADMIN
in the template. maykinmedia/referentielijsten#14 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stevenbal I agree, it looks like it belongs to open-api-framework
0a3ebd3
to
94083be
Compare
3302c39
to
80eec3c
Compare
Partially fixes maykinmedia/open-api-framework#21