Sha256: 6f12ecd1c4ce9252126ec1bab16f5da0a4e15a5831db475b9f5c1ffaa4637c0c
Contents?: true
Size: 822 Bytes
Versions: 11
Compression:
Stored size: 822 Bytes
Contents
%h1 Viewing Topic "#{@topic.name}" - if mongoid_forums_admin? = link_to t("mongoid_forums.topics.actions.hide.#{@topic.hidden}"), toggle_hide_admin_topic_path(@forum, @topic), :class => "btn" = link_to t("mongoid_forums.topics.actions.lock.#{@topic.locked}"), toggle_lock_admin_topic_path(@forum, @topic), :class => "btn" = link_to t("mongoid_forums.topics.actions.pin.#{@topic.pinned}"), toggle_pin_admin_topic_path(@forum, @topic), :class => "btn" - if @topic.can_be_replied_to? && can?(:reply, @topic) = link_to "Reply to topic", new_topic_post_path(@topic) - if mongoid_forums_user && @topic.subscriber?(mongoid_forums_user.id) = link_to "Unsubscribe", unsubscribe_topic_path(@topic) -elsif mongoid_forums_user = link_to "Subscribe", subscribe_topic_path(@topic) %br = paginate @posts %br = render @posts
Version data entries
11 entries across 11 versions & 2 rubygems