File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Save the version details for git tarballs in .VERSION file
2+ .VERSION export-subst
Original file line number Diff line number Diff line change 1414def dejacode_context (request ):
1515 """Return all the DejaCode specific context variables."""
1616 return {
17- "DEJACODE_VERSION" : DEJACODE_VERSION ,
17+ "DEJACODE_VERSION" : DEJACODE_VERSION . lstrip ( "v" ) ,
1818 "DEJACODE_SUPPORT_EMAIL" : settings .DEJACODE_SUPPORT_EMAIL ,
1919 "FAVICON_HREF" : settings .FAVICON_HREF ,
2020 "SITE_TITLE" : settings .SITE_TITLE ,
Original file line number Diff line number Diff line change 22{% load i18n grp_tags static %}
33
44{% block title %}
5- {{ SITE_TITLE }} {{ DEJACODE_VERSION }} Administration
5+ {{ SITE_TITLE }} Administration v {{ DEJACODE_VERSION }}
66{% endblock %}
77
88{% block admin_title %}
99 < h1 id ="grp-admin-title ">
10- {{ SITE_TITLE }} {{ DEJACODE_VERSION }} Administration
10+ {{ SITE_TITLE }} Administration v {{ DEJACODE_VERSION }}
1111 </ h1 >
1212{% endblock %}
1313
Original file line number Diff line number Diff line change 1717 < a class ="dropdown-item " href ="https://github.com/nexB/dejacode/releases " target ="_blank " rel ="noreferrer "> {% trans 'Releases' %}</ a >
1818 < a class ="dropdown-item " href ="https://scancode-licensedb.aboutcode.org/agpl-3.0.html " target ="_blank " rel ="noreferrer "> {% trans 'License' %}</ a >
1919 < div class ="dropdown-divider "> </ div >
20- < h6 class ="dropdown-header "> {{ DEJACODE_VERSION }}</ h6 >
20+ < h6 class ="dropdown-header "> v {{ DEJACODE_VERSION }}</ h6 >
2121 </ div >
2222 </ div >
2323{% endblock %}
Original file line number Diff line number Diff line change 126126 </ a >
127127 {% endif %}
128128 < div class ="dropdown-divider "> </ div >
129- < div class ="dropdown-header "> {{ DEJACODE_VERSION }}</ div >
129+ < div class ="dropdown-header "> v {{ DEJACODE_VERSION }}</ div >
130130 < div class ="dropdown-divider "> </ div >
131131 < form id ="logout-form " method ="post " action ="{% url 'logout' %} ">
132132 {% csrf_token %}
You can’t perform that action at this time.
0 commit comments