Sha256: f6902b3dafe49216733baf667ba6ea349bcf17a77562d11c7621fb9c7fc1d49e
Contents?: true
Size: 1.22 KB
Versions: 8
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_index_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.controls.terms'), hyrax.terms_path %></p> </div> </div> <% end %> <div class="row home-content"> <%= render 'home_content' %> </div>
Version data entries
8 entries across 8 versions & 1 rubygems