Sha256: ba656616d1eae8f8e7486033c1d86da9df4090f1c63cb822ad99eca51caabb6f

Contents?: true

Size: 1.04 KB

Versions: 11

Compression:

Stored size: 1.04 KB

Contents

- topic ||= @topic

- if topic.locked?
  %p.administrative
    = t("forum_extension.topic_locked")

- elsif Radiant.config['forum.cached?'] && !@inline
  .new_post
    .wrapper
      = link_to t("forum_extension.add_reply"), new_topic_post_url(topic), :class => 'remote post'

- else
  - if current_reader
    - if current_reader.activated?
      .post.replyform
        .wrapper
          .post_header
            = standard_gravatar_for(current_reader)
            %h2.person
              = t("forum_extension.add_reply")
            %p.context
              = t('forum_extension.if_you_not', :name => current_reader.name)
              = link_to(t('reader_extension.log_out'), reader_logout_url) + '.'
          = render :partial => 'posts/form', :locals => {:post => topic.posts.build, :omit_label => true}
    - else
      = render :partial => 'reader_activations/activation_required', :locals => {:purpose => t('forum_extension.to_reply')}
  - else
    = render :partial => 'reader_sessions/login_form', :locals => {:purpose => t('forum_extension.to_reply')}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.7 app/views/topics/_reply.html.haml
radiant-forum-extension-3.0.6 app/views/topics/_reply.html.haml
radiant-forum-extension-3.0.5 app/views/topics/_reply.html.haml
radiant-forum-extension-3.0.4 app/views/topics/_reply.html.haml
radiant-forum-extension-3.0.3 app/views/topics/_reply.html.haml
radiant-forum-extension-3.0.2 app/views/topics/_reply.html.haml
radiant-forum-extension-3.0.1 app/views/topics/_reply.html.haml
radiant-forum-extension-3.0.0 app/views/topics/_reply.html.haml
radiant-forum-extension-3.0.0.rc6 app/views/topics/_reply.html.haml
radiant-forum-extension-3.0.0.rc4 app/views/topics/_reply.html.haml
radiant-forum-extension-3.0.0.rc3 app/views/topics/_reply.html.haml