Sha256: 42e723e25b2f30ffa05064e67431ff924991c0e6df40bd6a47bd8bcb969b9089
Contents?: true
Size: 1.36 KB
Versions: 8
Compression:
Stored size: 1.36 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 @presenter.create_many_work_types? %> <%= 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, @presenter.first_work_type]), class: 'btn btn-primary' do %> <i class="glyphicon glyphicon-upload"></i> <%= t('hyrax.share_button') %> <% end %> <% end %> <% else %> <%= link_to hyrax.my_works_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> <%= render '/shared/select_work_type_modal', create_work_presenter: @presenter.create_work_presenter if @presenter.draw_select_work_modal? %>
Version data entries
8 entries across 8 versions & 1 rubygems