-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace references to Exhibits with Collection.
Closes #89.
- Loading branch information
1 parent
ac4bdb8
commit c8cbb51
Showing
5 changed files
with
219 additions
and
2 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div class="empty-page-block"> | ||
<h2>Welcome to Spotlight!</h2> | ||
|
||
<% unless current_user %> | ||
<p>In order to create collections, you need to <%= link_to t('spotlight.header_links.login'), main_app.new_user_session_path %></p> | ||
<% end %> | ||
<% if can? :create, Spotlight::Exhibit %> | ||
<p>When you're ready to begin building your collection, here's how to get started:</p> | ||
|
||
<ol> | ||
<li>Visit the <%= link_to "Create Collection", new_exhibit_path %> page to create a new collection.</li> | ||
|
||
<li>Visit the Spotlight <%= link_to "documentation pages", "https://github.com/sul-dlss/spotlight/wiki" %> to learn how to add and edit feature pages, about pages, custom browse categories, and more.</li> | ||
</ol> | ||
<% end %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<div class="empty-page-block"> | ||
<h2>Welcome to your new collection!</h2> | ||
|
||
<% unless current_user %> | ||
<p>In order to curate collection content, you need to <%= link_to t('spotlight.header_links.login'), main_app.new_user_session_path %></p> | ||
<% end %> | ||
<% if can? :edit, @page %> | ||
<p>When you're ready to begin building your collection, here's how to get started:</p> | ||
|
||
<ol> | ||
<% if can? :update, current_exhibit %> | ||
<li>Visit the <%= link_to "Configuration > General", edit_exhibit_path(current_exhibit) %> page to configure the collection title and subtitle.</li> | ||
|
||
<li>Next, go to the <%= link_to "Configuration > Appearance", edit_exhibit_appearance_path(current_exhibit) %> page to add a site masthead image and configure other appearance options.</li> | ||
<% end %> | ||
<% if can? :manage, Spotlight::Role.new(resource: current_exhibit) %> | ||
<li>If you want help building the collection use the <%= link_to "Configuration > Users", exhibit_roles_path(current_exhibit) %> page to add other user accounts.</li> | ||
<% end %> | ||
<% if can? :update, current_exhibit.blacklight_configuration %> | ||
<li>Use the other Curation pages, such as <%= link_to "Curation > Metadata", edit_exhibit_metadata_configuration_path(current_exhibit) %> and <%= link_to "Curation > Search", edit_exhibit_search_configuration_path(current_exhibit) %>, to customize the way various features are presented to collection visitors.</li> | ||
<% end %> | ||
|
||
<li>Visit the Spotlight <%= link_to "documentation pages", "https://github.com/sul-dlss/spotlight/wiki" %> to learn how to add and edit feature pages, about pages, custom browse categories, and more.</li> | ||
</ol> | ||
<% end %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters