backoffice: blocks and fd links from cards home (#54061)

This commit is contained in:
Lauréline Guérin 2021-06-08 14:58:16 +02:00
parent f48199fa92
commit 340bbe7632
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 3 additions and 0 deletions

View File

@ -275,6 +275,9 @@ class CardsDirectory(FormsDirectory):
r += htmltext('<div id="appbar">')
r += htmltext('<h2>%s</h2>') % _('Card Models')
r += htmltext('<span class="actions">')
r += htmltext('<a href="../forms/data-sources/">%s</a>') % _('Data sources')
if get_publisher().has_site_option('fields-blocks'):
r += htmltext('<a href="../forms/blocks/">%s</a>') % _('Fields blocks')
r += htmltext('<a href="categories/">%s</a>') % _('Categories')
r += htmltext('<a href="import" rel="popup">%s</a>') % _('Import')
r += htmltext('<a class="new-item" href="new" rel="popup">%s</a>') % _('New Card Model')