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

Replaced removed function #31

Merged
merged 2 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ckanext/ukdstheme/templates/footer.html
chris-daly marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% ckan_extends %}
<footer class="site-footer">
<div class="container">
{% block footer_content %}
<div class="row">
<div class="col-md-8 footer-links">
Expand Down Expand Up @@ -30,4 +31,5 @@
</div>
</div>
{% endblock %}

</div>
</footer>
10 changes: 5 additions & 5 deletions ckanext/ukdstheme/templates/page.html
chris-daly marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{%- block page -%}

{% block skip %}
<div class="sr-only sr-only-focusable"><a href="#content">{{ _('Skip over header') }}</a><a href="#mainblock">{{ _('Skip to main section') }}</a></div>
<div class="visually-hidden-focusable"><a href="#content">{{ _('Skip to main content') }}</a></div>
{% endblock %}

{#
Expand All @@ -23,8 +23,8 @@
{% block flash %}
<div class="flash-messages">
{% block flash_inner %}
{% for message in h.flash.pop_messages() | list %}
<div class="alert fade in {{ message.category }}">
{% for category, message in h.get_flashed_messages(with_categories=true) %}
<div class="alert alert-dismissible fade show {{ category }}">
{{ h.literal(message) }}
</div>
{% endfor %}
Expand Down Expand Up @@ -54,7 +54,7 @@
{% endblock %}

{% block secondary %}
<aside class="secondary col-sm-3">
<aside class="secondary col-md-3">
{#
The secondary_content block can be used to add content to the
sidebar of the page. This is the main block that is likely to be
Expand All @@ -72,7 +72,7 @@ <h2>A sidebar item</h2>
{% endblock %}

{% block primary %}
<div class="primary col-sm-9 col-xs-12" role="main" id="mainblock">
<div class="primary col-md-9 col-xs-12" role="main">
{#
The primary_content block can be used to add content to the page.
This is the main block that is likely to be used within a template.
Expand Down
Loading