blacklight-spotlight 3.0.0.alpha.3 → 3.0.0.alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/blacklight/highlight_off.svg +1 -0
- data/app/assets/stylesheets/spotlight/_blacklight_configuration.scss +3 -3
- data/app/assets/stylesheets/spotlight/_bootstrap_overrides.scss +19 -23
- data/app/assets/stylesheets/spotlight/_browse.scss +22 -13
- data/app/assets/stylesheets/spotlight/_catalog.scss +2 -2
- data/app/assets/stylesheets/spotlight/_curation.scss +5 -3
- data/app/assets/stylesheets/spotlight/_exhibits_index.scss +14 -1
- data/app/assets/stylesheets/spotlight/_featured_browse_categories_block.scss +5 -5
- data/app/assets/stylesheets/spotlight/_header.scss +14 -6
- data/app/assets/stylesheets/spotlight/_multi_image_selector.scss +1 -1
- data/app/assets/stylesheets/spotlight/_multi_up_item_grid.scss +3 -3
- data/app/assets/stylesheets/spotlight/_pages.scss +23 -16
- data/app/assets/stylesheets/spotlight/_sir-trevor_overrides.scss +3 -4
- data/app/assets/stylesheets/spotlight/_slideshow_block.scss +1 -0
- data/app/assets/stylesheets/spotlight/_spotlight.scss +0 -1
- data/app/assets/stylesheets/spotlight/_translations.scss +6 -6
- data/app/assets/stylesheets/spotlight/_utilities.scss +4 -0
- data/app/controllers/spotlight/translations_controller.rb +9 -1
- data/app/helpers/spotlight/pages_helper.rb +2 -1
- data/app/models/spotlight/field_metadata.rb +1 -2
- data/app/views/shared/_masthead.html.erb +13 -11
- data/app/views/spotlight/about_pages/_contact.html.erb +3 -3
- data/app/views/spotlight/about_pages/_contact_properties.html.erb +1 -1
- data/app/views/spotlight/admin_users/index.html.erb +77 -71
- data/app/views/spotlight/browse/_search_box.html.erb +1 -1
- data/app/views/spotlight/browse/show.html.erb +23 -26
- data/app/views/spotlight/catalog/_edit_default.html.erb +1 -1
- data/app/views/spotlight/catalog/_index_compact_default.html.erb +2 -2
- data/app/views/spotlight/contacts/_form.html.erb +1 -1
- data/app/views/spotlight/custom_fields/_form.html.erb +2 -2
- data/app/views/spotlight/custom_fields/form_group/_text.html.erb +2 -2
- data/app/views/spotlight/custom_fields/form_group/_vocab.html.erb +2 -2
- data/app/views/spotlight/custom_search_fields/_form.html.erb +1 -1
- data/app/views/spotlight/dashboards/_page.html.erb +4 -4
- data/app/views/spotlight/exhibits/_exhibit_card_back.html.erb +2 -2
- data/app/views/spotlight/feature_pages/_header.html.erb +2 -2
- data/app/views/spotlight/metadata_configurations/edit.html.erb +2 -2
- data/app/views/spotlight/pages/_form.html.erb +1 -1
- data/app/views/spotlight/pages/_page.html.erb +3 -3
- data/app/views/spotlight/roles/index.html.erb +2 -2
- data/app/views/spotlight/search_configurations/_facet_metadata.html.erb +0 -5
- data/app/views/spotlight/search_configurations/_facets.html.erb +3 -3
- data/app/views/spotlight/search_configurations/_search_fields.html.erb +2 -2
- data/app/views/spotlight/searches/_form.html.erb +2 -2
- data/app/views/spotlight/shared/_report_a_problem.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_quote_block.html.erb +4 -4
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +1 -1
- data/app/views/spotlight/translations/_search_fields.html.erb +1 -1
- data/app/views/spotlight/translations/edit.html.erb +1 -1
- data/lib/generators/spotlight/install_generator.rb +6 -2
- data/lib/generators/spotlight/templates/config/initializers/oembed.rb +4 -0
- data/lib/spotlight/engine.rb +0 -5
- data/lib/spotlight/version.rb +1 -1
- data/spec/controllers/spotlight/translations_controller_spec.rb +8 -0
- data/spec/examples.txt +6 -7
- data/spec/features/javascript/search_config_admin_spec.rb +1 -1
- data/spec/helpers/spotlight/pages_helper_spec.rb +6 -0
- data/spec/models/spotlight/field_metadata_spec.rb +0 -7
- data/spec/test_app_templates/Gemfile.extra +0 -1
- data/spec/views/spotlight/search_configurations/_facet_metadata.html.erb_spec.rb +0 -1
- data/vendor/assets/stylesheets/sir-trevor/_variables.scss +0 -8
- data/vendor/assets/stylesheets/sir-trevor/block-controls.scss +0 -4
- metadata +4 -6
- data/app/assets/images/blacklight/remove_circle_outline.svg +0 -1
- data/app/views/spotlight/browse/_sort_and_per_page.html.erb +0 -5
- data/spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb +0 -12
@@ -13,8 +13,8 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
.content-block {
|
16
|
-
margin-top: 3*$
|
17
|
-
margin-bottom: 3*$
|
16
|
+
margin-top: 3*$spacer;
|
17
|
+
margin-bottom: 3*$spacer;
|
18
18
|
}
|
19
19
|
|
20
20
|
// Sir-trevor sets the overflow to hidden which
|
@@ -76,10 +76,9 @@
|
|
76
76
|
.st-block-controls__button {
|
77
77
|
@extend .btn;
|
78
78
|
@extend .btn-secondary;
|
79
|
+
@extend .btn-outline-secondary;
|
79
80
|
|
80
|
-
background-color: theme-colors("secondary");
|
81
81
|
border: 1px solid $gray-700;
|
82
|
-
color: theme-colors("light");
|
83
82
|
|
84
83
|
.st-icon {
|
85
84
|
margin-left: auto;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
}
|
5
5
|
|
6
6
|
.browse-category-title {
|
7
|
-
margin-bottom: $
|
7
|
+
margin-bottom: $spacer;
|
8
8
|
|
9
9
|
label {
|
10
10
|
font-weight: normal;
|
@@ -12,7 +12,7 @@
|
|
12
12
|
}
|
13
13
|
|
14
14
|
.browse-category-description {
|
15
|
-
margin-bottom: $
|
15
|
+
margin-bottom: $spacer * 2;
|
16
16
|
}
|
17
17
|
|
18
18
|
.table.table-striped th {
|
@@ -28,11 +28,11 @@
|
|
28
28
|
|
29
29
|
.form-group.translation-form {
|
30
30
|
.col-form-label {
|
31
|
-
padding-top: $card-spacer-y + $
|
31
|
+
padding-top: $card-spacer-y + $spacer;
|
32
32
|
}
|
33
33
|
|
34
34
|
.translation-complete {
|
35
|
-
padding-top: $card-spacer-y + $
|
35
|
+
padding-top: $card-spacer-y + $spacer;
|
36
36
|
}
|
37
37
|
}
|
38
38
|
|
@@ -73,7 +73,7 @@
|
|
73
73
|
display: block;
|
74
74
|
font-size: $h4-font-size;
|
75
75
|
font-weight: bold;
|
76
|
-
margin-bottom: $
|
77
|
-
margin-top: $
|
76
|
+
margin-bottom: $spacer * 2;
|
77
|
+
margin-top: $spacer;
|
78
78
|
padding-bottom: 3px;
|
79
79
|
}
|
@@ -7,7 +7,9 @@ module Spotlight
|
|
7
7
|
before_action :authenticate_user!, :set_language, :set_tab
|
8
8
|
load_and_authorize_resource :exhibit, class: Spotlight::Exhibit
|
9
9
|
|
10
|
-
def edit
|
10
|
+
def edit
|
11
|
+
attach_breadcrumbs
|
12
|
+
end
|
11
13
|
|
12
14
|
def update
|
13
15
|
if current_exhibit.update(exhibit_params)
|
@@ -21,6 +23,12 @@ module Spotlight
|
|
21
23
|
|
22
24
|
private
|
23
25
|
|
26
|
+
def attach_breadcrumbs
|
27
|
+
add_breadcrumb t(:'spotlight.exhibits.breadcrumb', title: @exhibit.title), @exhibit
|
28
|
+
add_breadcrumb t(:'spotlight.curation.sidebar.header'), exhibit_dashboard_path(@exhibit)
|
29
|
+
add_breadcrumb t(:'spotlight.curation.sidebar.translations')
|
30
|
+
end
|
31
|
+
|
24
32
|
def exhibit_params
|
25
33
|
params.require(:exhibit).permit(translations_attributes: %i[id locale key value])
|
26
34
|
end
|
@@ -67,8 +67,9 @@ module Spotlight
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
+
# Insert soft breaks into email addresses so they wrap nicely
|
70
71
|
def render_contact_email_address(address)
|
71
|
-
mail_to address, address
|
72
|
+
mail_to address, sanitize(address).gsub(/([@\.])/, '\1<wbr />').html_safe
|
72
73
|
end
|
73
74
|
|
74
75
|
def configurations_for_current_page
|
@@ -19,8 +19,7 @@ module Spotlight
|
|
19
19
|
def field(key)
|
20
20
|
{
|
21
21
|
document_count: document_counts.fetch(field_name(key), 0),
|
22
|
-
value_count: terms.fetch(field_name(key), []).length
|
23
|
-
terms: terms.fetch(field_name(key), [])
|
22
|
+
value_count: terms.fetch(field_name(key), []).length
|
24
23
|
}
|
25
24
|
end
|
26
25
|
|
@@ -13,18 +13,20 @@
|
|
13
13
|
<%= render 'shared/exhibit_navbar' if current_exhibit && resource_masthead? %>
|
14
14
|
|
15
15
|
<div class="container site-title-container">
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
16
|
+
<div class="site-title-wrapper">
|
17
|
+
<% if content_for? :masthead %>
|
18
|
+
<h1 class="site-title h2">
|
19
|
+
<%= content_for :masthead %>
|
20
|
+
</h1>
|
21
|
+
<% else %>
|
22
|
+
<h1 class="site-title h2">
|
23
|
+
<%= masthead_heading_content %>
|
24
|
+
</h1>
|
25
|
+
<% if masthead_subheading_content %>
|
26
|
+
<small><%= masthead_subheading_content %></small>
|
27
|
+
<% end %>
|
26
28
|
<% end %>
|
27
|
-
|
29
|
+
</div>
|
28
30
|
</div>
|
29
31
|
|
30
32
|
<%= render 'shared/exhibit_navbar' if current_exhibit && !resource_masthead? %>
|
@@ -9,9 +9,9 @@
|
|
9
9
|
<%= f.hidden_field :weight, data: {property: "weight"} %>
|
10
10
|
<%= render partial: "contact_properties", locals: {contact: f.object} %>
|
11
11
|
</div>
|
12
|
-
<div class="contact-links">
|
13
|
-
<%= exhibit_edit_link f.object
|
14
|
-
<%= exhibit_delete_link f.object
|
12
|
+
<div class="contact-links page-links">
|
13
|
+
<%= exhibit_edit_link f.object %> ·
|
14
|
+
<%= exhibit_delete_link f.object %>
|
15
15
|
</div>
|
16
16
|
</div>
|
17
17
|
</div>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<div class="d-flex w-100">
|
2
2
|
<%= image_tag contact.avatar.iiif_url, class: 'contact-photo', alt: '' if contact.avatar && contact.avatar.iiif_url.present? %>
|
3
|
-
<div>
|
3
|
+
<div class="contact-properties">
|
4
4
|
<div itemprop="name" class="name"><%= contact.name %></div>
|
5
5
|
<% Spotlight::Contact.fields.each do |field, options| %>
|
6
6
|
<% if (value = contact.contact_info[field]).present? %>
|
@@ -1,90 +1,96 @@
|
|
1
1
|
<%= page_title(t('.section'), t('.page_title')) %>
|
2
2
|
<%= bootstrap_form_for Spotlight::Engine.user_class.new, html: { class: 'admin-users' }, url: spotlight.admin_users_path do |f| %>
|
3
|
-
<
|
4
|
-
|
5
|
-
<
|
6
|
-
<
|
7
|
-
<th><%= Spotlight::Engine.user_class.human_attribute_name(:email) %></th>
|
8
|
-
</tr>
|
9
|
-
</thead>
|
10
|
-
<tbody class="table">
|
11
|
-
<% @site.roles.map(&:user).each do |user| %>
|
3
|
+
<div class="mb-4">
|
4
|
+
<h3 class="instructions"><%= t :'.instructions' %></h3>
|
5
|
+
<table class="table table-striped">
|
6
|
+
<thead>
|
12
7
|
<tr>
|
13
|
-
<
|
14
|
-
|
15
|
-
|
8
|
+
<th colspan="2"><%= Spotlight::Engine.user_class.human_attribute_name(:email) %></th>
|
9
|
+
</tr>
|
10
|
+
</thead>
|
11
|
+
<tbody class="table">
|
12
|
+
<% @site.roles.map(&:user).each do |user| %>
|
13
|
+
<tr>
|
14
|
+
<td class="<%= 'invite-pending' if user.invite_pending? %>">
|
15
|
+
<%= user.email %>
|
16
|
+
<span class='badge badge-warning pending-label'><%= t('.pending') %></span>
|
17
|
+
</td>
|
18
|
+
<td>
|
19
|
+
<%= link_to(t('.destroy'), admin_user_path(user), method: :delete, class: 'btn btn-sm btn-danger float-right') unless user == current_user %>
|
20
|
+
</td>
|
21
|
+
</tr>
|
22
|
+
<% end %>
|
23
|
+
<tr data-edit-for='new'>
|
24
|
+
<td>
|
25
|
+
<%= f.email_field :email, hide_label: true %>
|
26
|
+
<span data-user-role='admin'></span>
|
16
27
|
</td>
|
17
28
|
<td>
|
18
|
-
|
29
|
+
<div class="form-actions">
|
30
|
+
<div class="primary-actions">
|
31
|
+
<%= cancel_link f.object, '#', class: 'btn-sizing', data: { behavior: 'cancel-edit' } %>
|
32
|
+
<%= f.submit t('.save'), class: 'btn btn-primary'%>
|
33
|
+
</div>
|
34
|
+
</div>
|
19
35
|
</td>
|
20
36
|
</tr>
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
<td>
|
28
|
-
<div class="form-actions">
|
29
|
-
<div class="primary-actions">
|
30
|
-
<%= cancel_link f.object, '#', class: 'btn btn-link', data: { behavior: 'cancel-edit' } %>
|
31
|
-
<%= f.submit t('.save'), class: 'btn btn-primary'%>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
</td>
|
35
|
-
</tr>
|
36
|
-
<tr data-edit-for='new'>
|
37
|
-
<td colspan='2'>
|
38
|
-
</td>
|
39
|
-
</tr>
|
40
|
-
</tbody>
|
41
|
-
</table>
|
37
|
+
<tr data-edit-for='new'>
|
38
|
+
<td colspan='2'>
|
39
|
+
</td>
|
40
|
+
</tr>
|
41
|
+
</tbody>
|
42
|
+
</table>
|
42
43
|
|
43
|
-
|
44
|
-
|
45
|
-
|
44
|
+
<div class="form-actions">
|
45
|
+
<div class="primary-actions">
|
46
|
+
<%= link_to(t('.create'), 'javascript:;', class: 'btn btn-secondary', data: { behavior: 'new-user' }) %>
|
47
|
+
</div>
|
46
48
|
</div>
|
47
49
|
</div>
|
48
50
|
|
49
|
-
<
|
50
|
-
|
51
|
-
<div class=
|
52
|
-
<
|
53
|
-
|
54
|
-
|
51
|
+
<div class="mb-4">
|
52
|
+
<h3 class="instructions"><%= t :'.admins_curators' %></h3>
|
53
|
+
<div id="admins_curators" class="card card-body bg-light">
|
54
|
+
<div class='btn-toolbar float-right'>
|
55
|
+
<button class="btn btn-sm btn-secondary copy-email-addresses" data-clipboard-target="#admins_curators">
|
56
|
+
<%= t('.copy') %>
|
57
|
+
</button>
|
58
|
+
</div>
|
59
|
+
<%= Spotlight::Engine.user_class.with_roles.pluck(:email).sort.join(', ') %>
|
55
60
|
</div>
|
56
|
-
<%= Spotlight::Engine.user_class.with_roles.pluck(:email).sort.join(', ') %>
|
57
61
|
</div>
|
58
62
|
|
59
|
-
<
|
60
|
-
|
61
|
-
<
|
62
|
-
<
|
63
|
-
<th><%= Spotlight::Engine.user_class.human_attribute_name(:email) %></th>
|
64
|
-
<th><%= Spotlight::Engine.user_class.human_attribute_name(:role) %></th>
|
65
|
-
</tr>
|
66
|
-
</thead>
|
67
|
-
<tbody class="table">
|
68
|
-
<% @users.each do |user| %>
|
63
|
+
<div class="mb-4">
|
64
|
+
<h3 class="instructions"><%= t :'.all_users' %></h3>
|
65
|
+
<table class="table table-striped ">
|
66
|
+
<thead>
|
69
67
|
<tr>
|
70
|
-
<
|
71
|
-
|
72
|
-
<span class='badge badge-warning pending-label'><%= t('.pending') %></span>
|
73
|
-
</td>
|
74
|
-
<td class="role">
|
75
|
-
<%= user.roles.map { |r| r.role.titleize }.uniq.join(", ") %>
|
76
|
-
</td>
|
77
|
-
<td class="text-right">
|
78
|
-
<% if user.superadmin? %>
|
79
|
-
<%= link_to(t('.destroy'), admin_user_path(user), method: :delete, class: 'btn btn-danger') unless user == current_user %>
|
80
|
-
<% else %>
|
81
|
-
<%= link_to(t('.update'), admin_user_path(user), method: :patch, class: 'btn btn-default') %>
|
82
|
-
<% end %>
|
83
|
-
</td>
|
68
|
+
<th><%= Spotlight::Engine.user_class.human_attribute_name(:email) %></th>
|
69
|
+
<th><%= Spotlight::Engine.user_class.human_attribute_name(:role) %></th>
|
84
70
|
</tr>
|
85
|
-
|
86
|
-
|
87
|
-
|
71
|
+
</thead>
|
72
|
+
<tbody class="table">
|
73
|
+
<% @users.each do |user| %>
|
74
|
+
<tr>
|
75
|
+
<td class="<%= 'invite-pending' if user.invite_pending? %>">
|
76
|
+
<%= user.email %>
|
77
|
+
<span class='badge badge-warning pending-label'><%= t('.pending') %></span>
|
78
|
+
</td>
|
79
|
+
<td class="role">
|
80
|
+
<%= user.roles.map { |r| r.role.titleize }.uniq.join(", ") %>
|
81
|
+
</td>
|
82
|
+
<td class="text-right">
|
83
|
+
<% if user.superadmin? %>
|
84
|
+
<%= link_to(t('.destroy'), admin_user_path(user), method: :delete, class: 'btn btn-sm btn-danger') unless user == current_user %>
|
85
|
+
<% else %>
|
86
|
+
<%= link_to(t('.update'), admin_user_path(user), method: :patch, class: 'btn btn-sm btn-secondary') %>
|
87
|
+
<% end %>
|
88
|
+
</td>
|
89
|
+
</tr>
|
90
|
+
<% end %>
|
91
|
+
</tbody>
|
92
|
+
</table>
|
93
|
+
</div>
|
88
94
|
<% end %>
|
89
95
|
|
90
96
|
<% content_for(:sidebar_position) { 'order-last' } %>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<span class="input-group-btn input-group-append">
|
10
10
|
<button class="btn btn-reset btn-sm" type="reset">
|
11
11
|
<span class="sr-only"><%= t(:'.reset') %></span>
|
12
|
-
<%= blacklight_icon('
|
12
|
+
<%= blacklight_icon('highlight_off') %>
|
13
13
|
</button>
|
14
14
|
<button type="submit" class="btn btn-primary search-btn" id="browse-search">
|
15
15
|
<span class="submit-search-text"><%= t(:'.submit') %></span>
|
@@ -1,30 +1,27 @@
|
|
1
1
|
<% set_html_page_title @search.title %>
|
2
2
|
<% render partial: 'tophat' %>
|
3
|
-
<div class="col-md-12">
|
4
|
-
<%= exhibit_edit_link @search, class: 'edit-button float-right btn btn-primary' if can? :edit, @search %>
|
5
|
-
<% if resource_masthead? %>
|
6
|
-
<% content_for :masthead do %>
|
7
|
-
<%= render 'search_title', search: @search %>
|
8
|
-
<% end %>
|
9
|
-
<% else %>
|
10
|
-
<h1><%= render 'search_title', search: @search %></h1>
|
11
|
-
<% end %>
|
12
|
-
<% if @search.long_description.present? %>
|
13
|
-
<div class="long-description-text <%= 'very-long-description-text' if @search.long_description.length > 600 %>">
|
14
|
-
<%= render_markdown @search.long_description %>
|
15
|
-
</div>
|
16
|
-
<% end %>
|
17
|
-
</div>
|
18
3
|
|
19
|
-
|
20
|
-
|
21
|
-
<%
|
22
|
-
<%= render
|
4
|
+
<%= exhibit_edit_link @search, class: 'edit-button float-right btn btn-primary' if can? :edit, @search %>
|
5
|
+
<% if resource_masthead? %>
|
6
|
+
<% content_for :masthead do %>
|
7
|
+
<%= render 'search_title', search: @search %>
|
23
8
|
<% end %>
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
</div>
|
9
|
+
<% else %>
|
10
|
+
<h1><%= render 'search_title', search: @search %></h1>
|
11
|
+
<% end %>
|
12
|
+
<% if @search.long_description.present? %>
|
13
|
+
<div class="long-description-text <%= 'very-long-description-text' if @search.long_description.length > 600 %>">
|
14
|
+
<%= render_markdown @search.long_description %>
|
15
|
+
</div>
|
16
|
+
<% end %>
|
17
|
+
|
18
|
+
<%= render 'sort_and_per_page' %>
|
19
|
+
<% if @search.search_box? %>
|
20
|
+
<%= render partial: 'search_box', locals: {search: @search} %>
|
21
|
+
<% end %>
|
22
|
+
<% if @search.default_index_view_type && params[:view].blank? %>
|
23
|
+
<%= render_document_index_with_view(@search.default_index_view_type, @document_list) %>
|
24
|
+
<% else %>
|
25
|
+
<%= render_document_index(@document_list) %>
|
26
|
+
<% end %>
|
27
|
+
<%= render 'results_pagination' %>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<% end %>
|
19
19
|
<div class="form-actions">
|
20
20
|
<div class="primary-actions">
|
21
|
-
<%= cancel_link document, spotlight.polymorphic_path([current_exhibit, document])
|
21
|
+
<%= cancel_link document, spotlight.polymorphic_path([current_exhibit, document]) %>
|
22
22
|
<%= f.submit nil, class: 'btn btn-primary' %>
|
23
23
|
</div>
|
24
24
|
</div>
|
@@ -6,8 +6,8 @@
|
|
6
6
|
<%= render_document_partial document, 'admin_index_header', document_counter: document_counter %>
|
7
7
|
|
8
8
|
<div class="page-links">
|
9
|
-
<%= view_link document, url_for_document(document)
|
10
|
-
<%= exhibit_edit_link document, [:edit, current_exhibit, document]
|
9
|
+
<%= view_link document, url_for_document(document) %> ·
|
10
|
+
<%= exhibit_edit_link document, [:edit, current_exhibit, document] %>
|
11
11
|
</div>
|
12
12
|
</td>
|
13
13
|
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<% end %>
|
26
26
|
|
27
27
|
<div class="form-group primary-actions">
|
28
|
-
<%= cancel_link @contact, exhibit_about_pages_path(@contact.exhibit)
|
28
|
+
<%= cancel_link @contact, exhibit_about_pages_path(@contact.exhibit) %>
|
29
29
|
<%= f.submit nil, class: 'btn btn-primary' %>
|
30
30
|
</div>
|
31
31
|
<% end %>
|