Skip to content

Commit

Permalink
Show the application name in the splash screen archesproject#6531
Browse files Browse the repository at this point in the history
Currently, the splash screen does not show the application name.
It shows "Arches" in all cases. This commit adds the application name to the splash screen.

Changed the nav bar to show and the carousel to show the application name.
  • Loading branch information
MikeGriniezakis committed Dec 4, 2024
1 parent 1e23a51 commit 4c84ea4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions arches/app/templates/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

{% render_bundle 'css/index' 'css' %}
{% render_bundle 'css/index-slider' 'css' %}

{% if app_settings.ACCESSIBILITY_MODE %}
{% render_bundle 'css/accessibility' 'css' %}
{% endif %}
Expand Down Expand Up @@ -81,7 +81,7 @@
<img class="navbar-brand-v5-icon" src="{% webpack_static 'img/landing/Arches_logo_white.png' %}" alt="{% trans 'Arches Logo' %}">
</div>
<div class="application-name">
<h1>{% blocktrans %}Arches | {{version}}{% endblocktrans %}</h1>
<h1>{% blocktrans %}{{app_name}} | {{version}}{% endblocktrans %}</h1>
</div>
</div>
</div>
Expand Down Expand Up @@ -169,7 +169,7 @@ <h1>{% blocktrans %}Arches | {{version}}{% endblocktrans %}</h1>
<div class="slide-img-container">
<img src="{% webpack_static 'img/landing/landing-primary.jpg' %}" alt="" aria-describedby="slide1-attribution">
<div class="slide-caption">
<h2>{% blocktrans %}Arches {{version}}{% endblocktrans %}</h2>
<h2>{% blocktrans %}{{app_name}} {{version}}{% endblocktrans %}</h2>
<p>{% trans "A web and mobile platform for" %}</p>
<p>{% trans "managing your most important resource information" %}</p>
</div>
Expand All @@ -178,7 +178,7 @@ <h2>{% blocktrans %}Arches {{version}}{% endblocktrans %}</h2>
<div class="slide-img-container">
<img src="{% webpack_static 'img/landing/bhutan_tigersnest_lr.jpg' %}" alt="" aria-describedby="slide2-attribution">
<div class="slide-caption">
<h2>{% blocktrans %}Arches {{version}}{% endblocktrans %}</h2>
<h2>{% blocktrans %}{{app_name}} {{version}}{% endblocktrans %}</h2>
<p>{% trans "A web and mobile platform for" %}</p>
<p>{% trans "managing your most important resource information" %}</p>
</div>
Expand All @@ -187,7 +187,7 @@ <h2>{% blocktrans %}Arches {{version}}{% endblocktrans %}</h2>
<div class="slide-img-container">
<img src="{% webpack_static 'img/landing/potala_palace.jpg' %}" alt="" aria-describedby="slide3-attribution">
<div class="slide-caption">
<h2>{% blocktrans %}Arches {{version}}{% endblocktrans %}</h2>
<h2>{% blocktrans %}{{app_name}} {{version}}{% endblocktrans %}</h2>
<p>{% trans "A web and mobile platform for" %}</p>
<p>{% trans "managing your most important resource information" %}</p>
</div>
Expand Down Expand Up @@ -485,7 +485,7 @@ <h2 class="app-footer-heading">{% trans "Guides and Documentation" %}</h2>
], function ($, ko) {
$(document).ready(function () {
App.init();

var contentSections = $('.app-info-block'),
navigationItems = $('#cd-vertical-nav a');

Expand Down Expand Up @@ -546,4 +546,4 @@ <h2 class="app-footer-heading">{% trans "Guides and Documentation" %}</h2>

</body>

</html>
</html>
1 change: 1 addition & 0 deletions arches/app/views/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def index(request):
"main_script": "index",
"active_page": "Home",
"app_title": settings.APP_TITLE,
"app_name": settings.APP_NAME,
"copyright_text": settings.COPYRIGHT_TEXT,
"copyright_year": settings.COPYRIGHT_YEAR,
"app_version": settings.APP_VERSION,
Expand Down

0 comments on commit 4c84ea4

Please sign in to comment.