Skip to content
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

Merged
merged 6 commits into from
Jul 16, 2024
Merged

Conversation

SonnyBA
Copy link
Contributor

@SonnyBA SonnyBA commented Jun 5, 2024

@SonnyBA SonnyBA self-assigned this Jun 5, 2024
Comment on lines 43 to 52
{% 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 %}
Copy link
Contributor

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?

Copy link
Contributor

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)

Copy link
Contributor

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

@SonnyBA SonnyBA force-pushed the feature/#21-show-version-admin branch from 3302c39 to 80eec3c Compare July 16, 2024 09:18
@SonnyBA SonnyBA requested review from stevenbal and annashamray July 16, 2024 09:22
@SonnyBA SonnyBA merged commit 29f010e into main Jul 16, 2024
16 checks passed
@SonnyBA SonnyBA deleted the feature/#21-show-version-admin branch July 16, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show version of the release in the admin
4 participants