-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port database/structure/favorite_anchor to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
- Loading branch information
1 parent
7f47703
commit 47af251
Showing
4 changed files
with
29 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<a id="{{ table_name_hash }}_favorite_anchor" | ||
class="ajax favorite_table_anchor" | ||
href="db_structure.php{{ Url_getCommon(fav_params) }}" | ||
title="{{ already_favorite ? 'Remove from Favorites'|trans : 'Add to Favorites'|trans }}" | ||
data-favtargets="{{ db_table_name_hash }}" > | ||
{{ already_favorite ? titles['Favorite'] : titles['NoFavorite'] }} | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters