[open-ils-commits] [GIT] Evergreen ILS branch master updated. d7fd69d4502070a0cf4bbeae5b30f59b11c9995e

Evergreen Git git at git.evergreen-ils.org
Thu Feb 19 08:50:28 EST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  d7fd69d4502070a0cf4bbeae5b30f59b11c9995e (commit)
      from  269cb6a6fe5735013a906640a561c65d39bee37a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d7fd69d4502070a0cf4bbeae5b30f59b11c9995e
Author: Kathy Lussier <klussier at masslnc.org>
Date:   Mon Feb 16 22:06:01 2015 -0500

    lp1422555: Shorter permalink on record summary page
    
    The record summary page will now offer a link to a shorter permalink with
    most URL parameters removed. The locg and copy-depth parameters are maintained.
    
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2
index 416e573..9e3bdc8 100644
--- a/Open-ILS/src/templates/opac/css/style.css.tt2
+++ b/Open-ILS/src/templates/opac/css/style.css.tt2
@@ -453,6 +453,11 @@ div.place_hold {
 
 div.toggle_list { padding-top: 6px; }
 
+div.share_record {
+    padding-top: 6px;
+    border-top: 1px dotted [% css_colors.accent_light %];
+}
+
 div.format_icon {
     float: right;
     margin-right: 17px;
diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2
index 2e494fb..5407062 100644
--- a/Open-ILS/src/templates/opac/parts/record/summary.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2
@@ -76,6 +76,10 @@
             [%- IF ctx.refworks.enabled == 'true' %]
                 [%- INCLUDE 'opac/parts/record/refworks.tt2' %]
             [%- END %]
+            <div class="rdetail_aux_utils share_record">
+              <img src="[% ctx.media_prefix %]/images/link.png" alt="[% l('Permalink') %]" />
+             <a href="[% mkurl('', {locg =>CGI.param('locg'), copy_depth =>CGI.param('copy_depth')}, 1) %]" class="no-dec">[% l('Permalink') %]</a>
+            </div>
         </div>
     </div>
 </div>
diff --git a/Open-ILS/web/images/licenses.txt b/Open-ILS/web/images/licenses.txt
index fd648ed..442e53f 100644
--- a/Open-ILS/web/images/licenses.txt
+++ b/Open-ILS/web/images/licenses.txt
@@ -3,17 +3,19 @@ http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/pinstripe/global/sp
 Mozilla Public License/GPL/GLPL
 
 
-braille.png derived from:
-https://www.iconfinder.com/icons/64010/braille_code_icon
-FatCow Web Hosting
+Farm-fresh icon set from FatCow Web Hosting
+link: https://www.iconfinder.com/iconsets/fatcow
 Creative Commons (Attribution 3.0 United States)
 
+Icons used:
+braille.png https://www.iconfinder.com/icons/64010/braille_code_icon 
+link.png https://www.iconfinder.com/icons/36158/link_url_icon
+
 
 serial.png comes from the Koha project and is used under the terms of the GPL3.
 The icon was originally provided by VOKAL (Vermont Organization of Koha
 Automated Libraries).
 
-
 Nuvola 1.0 (KDE 3.x icon set) (nuvola)
 link: http://www.icon-king.com/projects/nuvola/
 license: LGPL-2.1
diff --git a/Open-ILS/web/images/link.png b/Open-ILS/web/images/link.png
new file mode 100644
index 0000000..9109eec
Binary files /dev/null and b/Open-ILS/web/images/link.png differ
diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/permalink.txt b/docs/RELEASE_NOTES_NEXT/OPAC/permalink.txt
new file mode 100644
index 0000000..3c65de0
--- /dev/null
+++ b/docs/RELEASE_NOTES_NEXT/OPAC/permalink.txt
@@ -0,0 +1,8 @@
+Permalinks
+^^^^^^^^^^
+The record summary page will now offer a link to a shorter permalink that
+can be used for sharing the record with others. All URL parameters are stripped
+from the link with the exception of the locg and copy_depth parameters. Those
+parameters are maintained so that people can share a link that displays just
+the holdings from one library/system or displays holdings from all libraries
+with a specific library's holdings floating to the top.

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/opac/css/style.css.tt2      |    5 +++++
 .../src/templates/opac/parts/record/summary.tt2    |    4 ++++
 Open-ILS/web/images/licenses.txt                   |   10 ++++++----
 Open-ILS/web/images/link.png                       |  Bin 0 -> 1100 bytes
 docs/RELEASE_NOTES_NEXT/OPAC/permalink.txt         |    8 ++++++++
 5 files changed, 23 insertions(+), 4 deletions(-)
 create mode 100644 Open-ILS/web/images/link.png
 create mode 100644 docs/RELEASE_NOTES_NEXT/OPAC/permalink.txt


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list