Bug 29041: Improve specificity of breadcrumbs in Additional Contents
This patch adds a link to news or HTML customizations in the breadcrumbs navigation depending on which category of content you're adding or editing. To test, apply the patch and go to Tools -> News. - Begin the process of adding a news item. - In the breadcrumbs menu you should see: Additional contents > News > Add additional content - Clicking "News" should return you to the view of news items. - Test the same process in "HTML customizations." Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
16fd8c10f4
commit
3c2cd3e623
|
|
@ -36,6 +36,13 @@
|
|||
<li>
|
||||
<a href="/cgi-bin/koha/tools/additional-contents.pl">Additional contents</a>
|
||||
</li>
|
||||
<li>
|
||||
[% IF category == 'news' %]
|
||||
<a href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a>
|
||||
[% ELSE %]
|
||||
<a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a>
|
||||
[% END %]
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" aria-current="page">
|
||||
[% IF additional_content.idnew %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue