Sha256: 3774d7166a9319eb52f010ef1a81d4c70f74ec2c59478f68a42e27f8a9169cec

Contents?: true

Size: 1.89 KB

Versions: 14

Compression:

Stored size: 1.89 KB

Contents

<div class="column" id="col1">
  <div class="portlet" id="search">
    <h2 class="title">
      <% if user_signed_in? %>
        <%= t('page.user_title', :login_name => current_user.username) -%>
      <% else %>
        <%= t('page.catalog_search') -%>
      <% end %>
    </h2>
    <div id="user_search_form">
      <p id="notice"><%= notice %></p>

      <%= render 'page/search_form' -%>
      <p><%= t('page.number_of_manifestations', :numdocs => Manifestation.search.total, :count => Manifestation.search.total) -%></p>
      <h3 style="display: inline"><%= link_to t('page.new_resource'), manifestations_path(:mode => 'recent') -%></h3>
      <% if defined?(EnjuBookmark) %>
        <% if user_signed_in? %>
         <h4 style="display: inline"><%= link_to t('activerecord.models.bookmark'), user_bookmarks_path(current_user) %></h4>
        <% end %>
      <% end %>
    </div>
  </div>

  <% if defined?(EnjuNews) %>
    <div class="portlet" id="news_feed">
      <h3 class="title"><%= t('page.news') -%></h3>
      <div id="news_feed_box">
        <%= render :partial => 'news_feeds/list', :locals => {:news_feeds => @news_feeds} -%>
      </div>
    </div>
  <% end %>
</div>

<div class="column" id="col2">
  <div class="portlet" id="pickup">
    <h3 class="title"><%= t('manifestation.pickup') -%></h3>
    <div id="picked_up_box">
      <%= render 'manifestations/pickup', :manifestation => @manifestation -%>
    </div>
  </div>

  <% if defined?(EnjuBookmark) %>
    <div class="portlet" id="tag_cloud">
      <h3 class="title">
        <% if user_signed_in? %>
          <%= t('tag.my_tag') -%>
        <% else %>
          <%= t('tag.popular_tag') -%>
        <% end %>
      </h3>
      <div id="tag_cloud_box">
        <%= render 'bookmarks/tag_cloud', :tags => @tags -%>
        <p>(<%= link_to t('page.listing', :model => t('activerecord.models.tag')), tags_path -%>)</p>
      </div>
    </div>
  <% end %>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc12 app/views/page/_index.html.erb
enju_leaf-1.1.0.rc11 app/views/page/_index.html.erb
enju_leaf-1.1.0.rc10 app/views/page/_index.html.erb
enju_leaf-1.1.0.rc9 app/views/page/_index.html.erb
enju_leaf-1.1.0.rc8 app/views/page/_index.html.erb
enju_leaf-1.1.0.rc7 app/views/page/_index.html.erb
enju_leaf-1.1.0.rc6 app/views/page/_index.html.erb
enju_leaf-1.1.0.rc5 app/views/page/_index.html.erb
enju_leaf-1.1.0.rc4 app/views/page/_index.html.erb
enju_leaf-1.1.0.rc3 app/views/page/_index.html.erb
enju_leaf-1.1.0.rc2 app/views/page/_index.html.erb
enju_leaf-1.1.0.rc1 app/views/page/_index.html.erb
enju_leaf-1.1.0.beta3 app/views/page/_index.html.erb
enju_leaf-1.1.0.pre3 app/views/page/_index.html.erb