-
Notifications
You must be signed in to change notification settings - Fork 3
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 #24 from nugged/favorites_they_are_everywhere
Favorites! Favorites evrywhere!
- Loading branch information
Showing
5 changed files
with
31 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[% IF global.request.user.has_registered %] | ||
<a href="/ye2015/talk/[% onetalk.talk_id %]" | ||
[%# For best toggling state, reversed test and tald_id stored in tag data- items: %] | ||
[% IF global.request.user.is_my_talk(onetalk.talk_id) %] | ||
title="{{remove from personal schedule}}" | ||
data-toggle="tooltip" data-placement="top" | ||
class="talk-checkbox" | ||
data-talkfav="1" data-talkid="[% onetalk.talk_id %]" | ||
data-titlerev="{{add to personal schedule}}"> | ||
<img src="/ye2015/img/fav-3.png" width="20px"> | ||
[% ELSE %] | ||
title="{{add to personal schedule}}" | ||
data-toggle="tooltip" data-placement="top" | ||
class="talk-checkbox" | ||
data-talkfav="0" data-talkid="[% onetalk.talk_id %]" | ||
data-titlerev="{{remove from personal schedule}}"> | ||
<img src="/ye2015/img/no-fav-3.png" width="20px"> | ||
[% END %] | ||
</a> | ||
[% END %] |
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,5 +1,5 @@ | ||
[% | ||
IF tag; | ||
IF tag; | ||
title = loc("List of talks tagged <tag>", tag); | ||
ELSE; | ||
title = loc("List of talks"); | ||
|
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