-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #609 from awesto/fixes/hide-watch-list-icon
Fixes/hide watch list icon
- Loading branch information
Showing
3 changed files
with
16 additions
and
4 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 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 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 |
---|---|---|
@@ -1,6 +1,11 @@ | ||
{% load cms_tags %} | ||
{% page_url "shop-watch-list" as shop_watch_list_url %}{% if not shop_watch_list_url %}{% url "shop-watch-list" as shop_watch_list_url %}{% endif %} | ||
{% load cms_tags i18n %} | ||
{% page_url "shop-watch-list" as shop_watch_list_url %} | ||
{% if shop_watch_list_url %} | ||
{% page_attribute 'menu_title' 'shop-watch-list' as tooltip %} | ||
{% else %} | ||
{% url "shop-watch-list" as shop_watch_list_url %} | ||
{% trans "Watch List" as tooltip %} | ||
{% endif %} | ||
{% if shop_watch_list_url %} | ||
{% page_attribute 'menu_title' 'shop-watch-list' as tooltip %} | ||
<li><a href="{{ shop_watch_list_url }}" title="{{ tooltip }}"><i class="fa fa-heart fa-lg" uib-tooltip="{{ tooltip }}"></i></a></li> | ||
{% endif %} |