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

Fix: Deprecated Attributes (OX-11128) #2025

Merged
merged 1 commit into from
Jul 29, 2024
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
3 changes: 1 addition & 2 deletions src/main/resources/default/kb/00000.html.pasta
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
<div class="pb-2">
<div>
<k:link link="@apply('/kba/%s/%s', chapter.getLanguage(), chapter.getArticleId())"
icon="fa-solid fa-book"
name="@chapter.getTitle()"/>
icon="fa-solid fa-book">@chapter.getTitle()</k:link>
</div>
<div class="text-muted">
@chapter.getDescription()
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/default/kb/en/user/noodle.html.pasta
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</li>
<li>
Macro calls: <k:inlineCode>isEmpty("test")</k:inlineCode>. All available macros are listed here:
<k:link link="/system/tags" name="Tagliatelle Tag Overview" target="_blank"/>.
<k:link link="/system/tags" target="_blank">Tagliatelle Tag Overview</k:link>
</li>
<li>
If statements: <k:inlineCode>if (condition) { statements; }</k:inlineCode>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
</k:section>
<k:section heading="Available tags and macros" anchor="available-tags-and-macros">
A list of all available tags and macros can be found here:
<k:link link="/system/tags" name="Tagliatelle Tag Overview" target="_blank"/>.
<k:link link="/system/tags" target="_blank">Tagliatelle Tag Overview</k:link>
</k:section>
</k:article>
10 changes: 6 additions & 4 deletions src/main/resources/default/taglib/k/base.html.pasta
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@
<i:if test="parent != null">
<t:inlineInfo>
<k:link link="@apply('/kba/%s/%s', parent.getLanguage(), parent.getArticleId())"
icon="fa-solid fa-book"
name="@parent.getTitle()"/>
icon="fa-solid fa-book">
@parent.getTitle()
</k:link>
</t:inlineInfo>
</i:if>
<t:inlineInfo>
Expand Down Expand Up @@ -132,8 +133,9 @@
<div class="pb-2">
<div>
<k:link link="@apply('/kba/%s/%s', reference.getLanguage(), reference.getArticleId())"
icon="@(reference.isChapter() ? 'fa-solid fa-book' : 'fa-solid fa-file-alt')"
name="@reference.getTitle()"/>
icon="@(reference.isChapter() ? 'fa-solid fa-book' : 'fa-solid fa-file-alt')">
@reference.getTitle()
</k:link>
</div>
<div class="text-muted">
@reference.getDescription()
Expand Down
6 changes: 2 additions & 4 deletions src/main/resources/default/taglib/k/chapter.html.pasta
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
<div class="pb-2">
<div>
<k:link link="@apply('/kba/%s/%s', chapter.getLanguage(), chapter.getArticleId())"
icon="fa-solid fa-book"
name="@chapter.getTitle()"/>
icon="fa-solid fa-book">@chapter.getTitle()</k:link>
</div>
<div class="text-muted">
@chapter.getDescription()
Expand All @@ -56,8 +55,7 @@
<div class="pb-2">
<div>
<k:link link="@apply('/kba/%s/%s', child.getLanguage(), child.getArticleId())"
icon="fa-solid fa-file-alt"
name="@child.getTitle()"/>
icon="fa-solid fa-file-alt">@child.getTitle()</k:link>
</div>
<div class="text-muted">
@child.getDescription()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<i:if test="isFrameworkEnabled('tycho.open-search')">
<t:permission permission="permission-open-search">
Also note that you can use the
<k:link link="/open-search" icon="fa-solid fa-search" name="System-wide Search"/>
<k:link link="/open-search" icon="fa-solid fa-search">System-wide Search</k:link>
to find articles for a given keyword.
</t:permission>
</i:if>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<i:if test="isFrameworkEnabled('tycho.open-search')">
<t:permission permission="permission-open-search">
Bitte beachten Sie, dass Sie auch die
<k:link link="/open-search" icon="fa-solid fa-search" name="Systemweite Suche"/>
<k:link link="/open-search" icon="fa-solid fa-search">Systemweite Suche</k:link>
verwenden können, um entsprechende Hilfeseiten zu finden.
</t:permission>
</i:if>
Expand Down