Fixed context/parent links on compact

This commit is contained in:
Paradox
2011-07-25 22:49:52 -07:00
committed by Neil Williams
parent 0e7784a167
commit 35785f7c41
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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