Sha256: e52b374c9226ad0df410de7283370281d5324effffaaaafce715c7eafdad4d36

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

<% provide :page_title, application_name %>

<% if @presenter.display_share_button? %>
  <div class="home_share_work row">
    <div class="col-sm-12 text-center">
      <% if signed_in? %>
        <% if create_work_presenter.many? %>
          <%= link_to '#',
            class: "btn btn-primary btn-lg",
            data: { behavior: 'select-work', target: '#worktypes-to-create', 'create-type' => 'single' } do %>
            <i class="glyphicon glyphicon-upload"></i> <%= t('hyrax.share_button') %>
          <% end %>
        <% else # simple link to the first work type %>
          <%= link_to new_polymorphic_path([main_app, create_work_presenter.first_model]),
                class: 'btn btn-primary' do %>
            <i class="glyphicon glyphicon-upload"></i> <%= t('hyrax.share_button') %>
          <% end %>
        <% end %>
      <% else %>
        <%= link_to hyrax.dashboard_path,
          class: "btn btn-primary btn-lg" do %>
          <i class="glyphicon glyphicon-upload"></i> <%= t('hyrax.share_button') %>
        <% end %>
      <% end %>
      <p><%= link_to t(:'hyrax.pages.tabs.terms_page'), hyrax.terms_path %></p>
    </div>
  </div>
<% end %>

<div class="row home-content">
  <%= render 'home_content' %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hyrax-2.0.0.beta1 app/views/hyrax/homepage/index.html.erb