Skip to content
Code-Schnipsel Gruppen Projekte

Revisionen vergleichen

Änderungen werden so angezeigt, als ob die Quellrevision mit der Zielrevision zusammengeführt würde. Erfahre mehr über den Vergleich von Revisionen.

Quelle

Zielprojekt auswählen
No results found

Ziel

Zielprojekt auswählen
  • quiqqer/template-cologne
1 Ergebnis
Änderungen anzeigen
Commits auf Quelle (5)
...@@ -6,28 +6,14 @@ ...@@ -6,28 +6,14 @@
{* Template: default*} {* Template: default*}
{if $faqTemplate == 'default'} {if $faqTemplate == 'default'}
{if $offset} <section itemscope itemtype="https://schema.org/ItemList"
{*
This CSS is used to scroll the page down a bit when accessed with a # in the url.
By doing this the menu no longer hides the linked content.
*}
<style type="text/css">
:target::before {
content: '';
display: block;
height: {$offset}px;
margin-top: -{$offset}px;
}
</style>
{/if}
<section itemscope itemtype="http://schema.org/ItemList"
class="content-template quiqqer-faq clear-fix cologne-quiqqer-faq" class="content-template quiqqer-faq clear-fix cologne-quiqqer-faq"
data-qui="package/quiqqer/faq/bin/Category" data-qui="package/quiqqer/faq/bin/Category"
data-qui-options-offset="{$offset}" data-qui-options-offset="{$offset}"
{if $offset}style="--_qui-faq-scrollOffset: var(--qui-faq-scrollOffset, {$offset}px);"{/if}
> >
{if count($entries)} {if count($entries)}
<ul class="quiqqer-faq-list" id="faqList" name="faqList"> <ul class="quiqqer-faq-list" id="faqList">
{foreach $entries as $Faq} {foreach $entries as $Faq}
<li> <li>
<a href="{url site=$Site}#faq{$Faq->getId()}"> <a href="{url site=$Site}#faq{$Faq->getId()}">
...@@ -40,7 +26,7 @@ ...@@ -40,7 +26,7 @@
{/if} {/if}
{foreach $entries as $Faq} {foreach $entries as $Faq}
<article id="faq{$Faq->getId()}" class="clear-fix"> <article id="faq{$Faq->getId()}" class="quiqqer-faq__entry">
<header> <header>
<h2><span class="fa fa-file-text"></span> {$Faq->getAttribute('title')}</h2> <h2><span class="fa fa-file-text"></span> {$Faq->getAttribute('title')}</h2>
</header> </header>
...@@ -65,6 +51,10 @@ ...@@ -65,6 +51,10 @@
{/if} {/if}
{/foreach} {/foreach}
{if $faqStructuredData}
{$faqStructuredData}
{/if}
</section> </section>
{/if} {/if}
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
{/if} {/if}
{* END language & currency switch *} {* END language & currency switch *}
<span class="cologne-header-control-user"> <div class="cologne-header-control-user">
{if $User->getId()} {if $User->getId()}
{$Avatar->create()} {$Avatar->create()}
{else} {else}
...@@ -34,6 +34,6 @@ ...@@ -34,6 +34,6 @@
<span class="cologne-header-control-user-loader"> <span class="cologne-header-control-user-loader">
<span class="fa fa-pulse fa-circle-o-notch"></span> <span class="fa fa-pulse fa-circle-o-notch"></span>
</span> </span>
</span> </div>
</div> </div>
</div> </div>
\ No newline at end of file