mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
Fixed context/parent links on compact
This commit is contained in:
@@ -74,9 +74,9 @@
|
||||
${icon_button("Reply", "reply-icon", onclick="return reply(this)", outer_class="reply-button")}
|
||||
%endif
|
||||
${icon_button("Collapse", "collapse-icon", onclick="return toggle_collapse(this)")}
|
||||
${icon_button("Permalink", "permalink-icon", thing.permalink)}
|
||||
${icon_button("Permalink", "permalink-icon", thing.permalink + ".compact")}
|
||||
%if c.profilepage:
|
||||
${icon_button("Context", "context-icon", thing.permalink + "?context=3")}
|
||||
${icon_button("Context", "context-icon", thing.permalink + ".compact?context=3")}
|
||||
%elif thing.parent_permalink:
|
||||
${icon_button("Parent", "parent-icon", thing.parent_permalink )}
|
||||
%endif
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
%if c.user_is_loggedin:
|
||||
${icon_button("Reply", "reply-icon", outer_class="reply-button", onclick="return reply(this)")}
|
||||
%endif
|
||||
${icon_button("Permalink", "permalink-icon", thing.permalink)}
|
||||
${icon_button("Permalink", "permalink-icon", thing.permalink + ".compact")}
|
||||
%if thing.was_comment:
|
||||
${icon_button("Context", "context-icon", thing.permalink + ".compact?context=3")}
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user