diff --git a/app/assets/stylesheets/modules/attributes.css.scss b/app/assets/stylesheets/modules/attributes.css.scss index f27194ae5..d29aa7f85 100644 --- a/app/assets/stylesheets/modules/attributes.css.scss +++ b/app/assets/stylesheets/modules/attributes.css.scss @@ -48,3 +48,13 @@ } } } + +.table.related-to-works { + .selected-row { + border: 2px solid $blue-light; + } + + .modifier.current { + width: 3em; + } +} diff --git a/app/views/curation_concern/osf_archives/_attributes.html.erb b/app/views/curation_concern/osf_archives/_attributes.html.erb index a58750543..9d833f7cd 100644 --- a/app/views/curation_concern/osf_archives/_attributes.html.erb +++ b/app/views/curation_concern/osf_archives/_attributes.html.erb @@ -33,27 +33,27 @@ -
CurateND Identifier | Date Archived | -|||
---|---|---|---|---|
<%= is_viewing_version ? 'Viewing' : ' '.html_safe %> | - <% link_class = (archived_version.pid == curation_concern.pid ? "current-work" : "another-work") %> - <%= link_to(archived_version.noid, polymorphic_path([:curation_concern, archived_version]), class: link_class) %> + <%= link_to_unless(is_viewing_version, archived_version.noid, polymorphic_path([:curation_concern, archived_version])) %> | -<%= archived_version.date_archived.strftime('%Y-%m-%d') %> | -<%= archived_version.pid == curation_concern.pid ? 'This Work' : ' '.html_safe %> | +<%= content_tag :time, archived_version.date_archived.strftime('%Y-%m-%d'), datetime: archived_version.date_archived.iso8601 %> |