You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WIP move repositories controller blacklight config into Site model
- needs show link implementation
- secondary nav is editable for reading room sites
- secondary nav links can confgiure icon_class to be icon buttons
- RepositoriesController subclasses SitesController
- Repositories::CatalogController subclasses Sites::SearchController
- DLC-1157
<% if repository_key && (current_page?(repository_url(repository_key)) or current_page?(repository_reading_room_url(repository_id: repository_key))) %>
<labelfor="site_search_type">Search Type <spanclass="fa fa-question-circle" data-tooltip="tooltip-search-type"></span></label>
@@ -175,6 +175,7 @@
175
175
<spanid="tooltip-subtitle" title="Alternative Title">The subtitle of the site. If blank and the Hyacinth data for the site includes a Library Location, that library's name will be used in some layouts.</span>
176
176
<spanid="tooltip-nav-menu-label" title="Link Group Label">The label for this group of links, which will be presented as a drop-down menu if there are multiple links. If the group has only one link, the group label will not be displayed and the link will be presented directly in the site navigation bar.</span>
177
177
<spanid="tooltip-nav-link-label" title="Link Label">The label used for a link in a drop-down menu or, if it is the only link in a group, the site navigation bar.</span>
178
+
<spanid="tooltip-nav-link-icon-class" title="Icon Class">The fontawesome class to use to iconify this link. The link label will be help text/title for the icon button.</span>
178
179
<spanid="tooltip-nav-link" title="Link To">The URL associated with this link. Full URLs will indicate that they are links to external resources. If a page slug is given and the link is marked as internal, a link to the named page will be built.</span>
179
180
<spanid="tooltip-layout" title="Site Layout">The overall layout of markup for the site, governing the homepage and any configured site pages. "DLC default" defers to the design team's default configurations. See the <ahref="https://resolver.library.columbia.edu/dlc-editor-docs" target="_blank">site editor documentation</a> for details.</span>
180
181
<spanid="tooltip-palette" title="Site Palette">The color scheme for the site, governing the homepage and any configured site pages. "DLC default" defers to the design team's default configurations. See the <ahref="https://resolver.library.columbia.edu/dlc-editor-docs" target="_blank">site editor documentation</a> for details.</span>
Copy file name to clipboardexpand all lines: app/views/sites/edit/_navigation_link_form.html.erb
+4
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,10 @@
15
15
<labelfor="site[nav_menus_attributes][<%=menu_form.index%>][links_attributes][<%=link_form.index%>][link]">Links To <spanclass="fa fa-question-circle" data-tooltip="tooltip-nav-link"></span></label>
0 commit comments