houdini/app/views/components/_show_more.html.erb
Bradley M. Kuhn 22adb4d5fd Relicense all .erb files under new project license.
The primary license of the project is changing to:
  AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later

with some specific files to be licensed under the one of two licenses:
   CC0-1.0
   LGPL-3.0-or-later

This commit is one of the many steps to relicense the entire codebase.

Documentation granting permission for this relicensing (from all past
contributors who hold copyrights) is on file with Software Freedom
Conservancy, Inc.
2018-03-25 15:10:40 -04:00

35 lines
1.1 KiB
Text

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!-- partial start components/show_more -->
<footer class='moreResults group'>
<button class='button--micro details'>
<!--= show_if (any <%=scope%>.remaining <%=scope%>.remaining_count)-->
<!--= set_attr_if <%=scope%>.loading 'disabled' '' -->
<!--= on 'click' (incr '<%=scope%>.query.page') <%=scope%>.index -->
<span>
<!--= show_if <%=scope%>.loading -->
<i class='fa fa-spin fa-spinner'></i> Loading...
</span>
<span> <!--= hide_if <%=scope%>.loading --> Show More </span>
</button>
<small class='moreResults-showingCount'>
<!--= hide_if is_showing_side_panel -->
Showing <!--= put (length <%=scope%>.data) --> out of <!--= put (<%=scope%>.total_count)-->
</small>
<small class='moreResults-showingCount' >
<!--= show_if is_showing_side_panel -->
<span>
<!--= hide_if <%=scope%>.remaining -->
Showing
</span>
<!--= put (length <%=scope%>.data) -->/<!--= put (<%=scope%>.total_count)-->
</small>
</footer>
<!-- partial end components/show_more -->