Sha256: 1e4caa8b4ae65ff342cc69a7af5ef6ba5431f0110e4968e848771d521ae352e0

Contents?: true

Size: 629 Bytes

Versions: 16

Compression:

Stored size: 629 Bytes

Contents

!!!
%html
  %head
    %title Forums
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true
    = javascript_include_tag 'application', 'data-turbolinks-track' => true
    = csrf_meta_tags
  %body
    - if mongoid_forums_user.present?
      - @alerts.each do |al|
        = al.mongoid_forums_topic_replier
        replied to
        - topic = MongoidForums::Post.find(al.mongoid_forums_topic_post_id).topic
        = link_to topic.name, al.link
        = time_ago_in_words(al.created_at)
        ago

    - flash.each do |name, msg|
      = content_tag :p, msg if msg.is_a?(String)

    = yield

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
mongoid-forums-1.0.7 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-1.0.6 app/views/layouts/mongoid_forums/application.haml
ack-mongoid-forums-1.0.5 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-1.0.4 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-1.0.3 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-1.0.2 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-1.0.1 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-1.0.0 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-0.0.11 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-0.0.10 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-0.0.9 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-0.0.5 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-0.0.4 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-0.0.3 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-0.0.2 app/views/layouts/mongoid_forums/application.haml
mongoid-forums-0.0.1 app/views/layouts/mongoid_forums/application.haml