diff options
author | Marius Halden <marius.h@lden.org> | 2016-06-11 13:53:12 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-12-15 13:31:07 +0100 |
commit | fb0090820ff34c4f8bffd5bae4a634c8b6a1bc19 (patch) | |
tree | 8c3cf5d21f2caced568e2a93f1b2a5725207711a | |
parent | 1a48d076b3274a05a651967dc14a393bd1927255 (diff) |
Fix faq width and contact link for FiksGataMi
-rw-r--r-- | templates/web/fiksgatami/about/_sidebar.html | 15 | ||||
-rw-r--r-- | templates/web/fiksgatami/about/faq-nb.html | 4 | ||||
-rw-r--r-- | templates/web/fiksgatami/about/faq-nn.html | 4 |
3 files changed, 21 insertions, 2 deletions
diff --git a/templates/web/fiksgatami/about/_sidebar.html b/templates/web/fiksgatami/about/_sidebar.html new file mode 100644 index 000000000..0a21454f5 --- /dev/null +++ b/templates/web/fiksgatami/about/_sidebar.html @@ -0,0 +1,15 @@ +<div class="sticky-sidebar"> + <aside> + <ul class="plain-list"> + <li>[% INCLUDE link h='/faq' t=loc('Frequently Asked Questions') %]</li> + <!-- <li>[% INCLUDE link h='/privacy' t=loc('Privacy and cookies') %]</li> --> + <li>[% INCLUDE link h='/contact' t=tprintf(loc("Contact %s", "%s is the site name"), site_name) %]</li> + </ul> + </aside> +</div> + +[% BLOCK link -%] +<[% IF c.req.uri.path == h %]strong[% ELSE %]a href="[% h %]"[% END %]> +[%- t -%] +</[% IF c.req.uri.path == h %]strong[% ELSE %]a[% END %]> +[%- END %] diff --git a/templates/web/fiksgatami/about/faq-nb.html b/templates/web/fiksgatami/about/faq-nb.html index da35cb03c..05a48f02b 100644 --- a/templates/web/fiksgatami/about/faq-nb.html +++ b/templates/web/fiksgatami/about/faq-nb.html @@ -1,4 +1,6 @@ -[% INCLUDE 'header.html', title => loc('Frequently Asked Questions') %] +[% INCLUDE 'header.html', title => loc('Frequently Asked Questions'), bodyclass = 'twothirdswidthpage' %] + +[% INCLUDE 'about/_sidebar.html' %] <h1>Ofte stilte spørsmål</h1> <dl> diff --git a/templates/web/fiksgatami/about/faq-nn.html b/templates/web/fiksgatami/about/faq-nn.html index 161cfbea5..af0f5af75 100644 --- a/templates/web/fiksgatami/about/faq-nn.html +++ b/templates/web/fiksgatami/about/faq-nn.html @@ -1,4 +1,6 @@ -[% INCLUDE 'header.html', title => loc('Frequently Asked Questions') %] +[% INCLUDE 'header.html', title => loc('Frequently Asked Questions'), bodyclass = 'twothirdswidthpage' %] + +[% INCLUDE 'about/_sidebar.html' %] <h1>Ofte stilte spurnader</h1> <dl> |