Sha256: 2ed2f29b9acce8a1f3830404bff1dbe7b61068c4b01b4b2a559b27c68ab30260

Contents?: true

Size: 1.68 KB

Versions: 2

Compression:

Stored size: 1.68 KB

Contents

<%- if curation_concern.identifier.present? -%>
  <%# Please forgive this questionably semantic markup -- it should just _look_ the same as a legend/fieldset %>
  <fieldset>
    <legend>Digital Object Identifier</legend>
    <p>
      This
      <%= classify_for_display(curation_concern) %>
      has a <abbr title="Digital Object Identifier">DOI</abbr>.
    </p>
    <p>
      <strong><%= link_to curation_concern.identifier, curation_concern.doi_url %></strong>
    </p>
    <p>
      This <abbr title="Digital Object Identifier" data-placement="right">DOI</abbr> link is the best way for others to cite your work.
    </p>
  </fieldset>
<%- else -%>
  <fieldset class="promote promote-doi">
    <legend>
      Assign a Digital Object Identifier (DOI)
    </legend>

    <p>
      A <abbr title="Digital Object Identifier" data-placement="right">DOI</abbr> is a permanent link to your
      <%= classify_for_display(curation_concern) %>.
      It&rsquo;s an easy way for other people to cite your work.
    </p>
    <p>
      Want more information on <abbr title="Digital Object Identifier">DOI</abbr>s?
      Here&rsquo;s a <a href="http://simple.wikipedia.org/wiki/Doi" target="_blank">brief summary</a> and the <a href="http://www.doi.org/faq.html" target="_blank">DOI FAQ</a>.
    </p>

    <div class="control-group">
      <%= f.label :assign_doi, class: 'label label-success label-large label-checkbox' do %>
        <%= f.check_box :assign_doi %>
        <span class="label-text">
          Yes, I would like to assign this
          <%= classify_for_display(curation_concern) %>
          a <abbr title="Digital Object Identifier">DOI</abbr>.
        </span>
      <% end %>
    </div>
  </fieldset>
<%- end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
curate-0.3.2 app/views/curation_concern/_doi.html.erb
curate-0.3.1 app/views/curation_concern/_doi.html.erb