Bugzilla – Attachment 35640 Details for
Bug 13642
Adding new features for Dublin Core metadata
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13642 [ENH] Adding new features for Dublin Core metadata #4/9
0006-Bug-13642-ENH-Adding-new-features-for-Dublin-Core-me.patch (text/plain), 4.04 KB, created by
Héctor Eduardo Castro Avalos
on 2015-01-30 19:51:16 UTC
(
hide
)
Description:
Bug 13642 [ENH] Adding new features for Dublin Core metadata #4/9
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2015-01-30 19:51:16 UTC
Size:
4.04 KB
patch
obsolete
>From 845fddd41851c5b00dc7e1965ab8b9e595e6eed8 Mon Sep 17 00:00:00 2001 >From: Hector Castro <hector.hecaxmmx@gmail.com> >Date: Fri, 30 Jan 2015 11:10:01 -0600 >Subject: [PATCH 06/11] Bug 13642 [ENH] Adding new features for Dublin Core > metadata Changes the menu Save Record to reflect in > opac-detail.tt (opac-datail-sidebar.inc) > >- FOREACH and SWITCH function modified for OpacExportOptions and link to trigger modal >--- > .../bootstrap/en/includes/opac-detail-sidebar.inc | 35 +++++++++++--------- > 1 file changed, 19 insertions(+), 16 deletions(-) > mode change 100644 => 100755 koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >old mode 100644 >new mode 100755 >index 3efa10c..fcf87bc >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >@@ -34,7 +34,7 @@ > </li> > [% END %] > >- [% SET export_options = Koha.Preference('OpacExportOptions').split(',') %] >+ [% SET export_options = Koha.Preference('OpacExportOptions').split(',') %] > [% IF export_options.size %] > <li> > <div id="export"> >@@ -42,21 +42,24 @@ > <a id="format" class="dropdown-toggle" data-toggle="dropdown" href="#">Save record <b class="caret"></b></a> > <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="format"> > [% FOREACH option IN export_options %] >- <li> >- <a role="menuitem" href="/cgi-bin/koha/opac-export.pl?op=export&bib=[% biblionumber %]&format=[% option %]"> >- [% SWITCH option %] >- [% CASE 'bibtex' %]BIBTEX >- [% CASE 'dc' %]Dublin Core (XML) >- [% CASE 'endnote' %]EndNote >- [% CASE 'marcxml' %]MARCXML >- [% CASE 'marc8' %]MARC (non-Unicode/MARC-8) >- [% CASE 'utf8' %]MARC (Unicode/UTF-8) >- [% CASE 'marcstd' %]MARC (Unicode/UTF-8, Standard) >- [% CASE 'mods' %]MODS (XML) >- [% CASE 'ris' %]RIS >- [% END %] >- </a> >- </li> >+ [% IF option == 'dc' %] >+ <li><a role="menuitem" href="#" data-toggle="modal" data-target="#myModal">Dublin Core</a></li> >+ [% ELSE %] >+ <li> >+ <a role="menuitem" href="/cgi-bin/koha/opac-export.pl?op=export&bib=[% biblionumber %]&format=[% option %]"> >+ [% SWITCH option %] >+ [% CASE 'bibtex' %]BIBTEX >+ [% CASE 'endnote' %]EndNote >+ [% CASE 'marcxml' %]MARCXML >+ [% CASE 'marc8' %]MARC (non-Unicode/MARC-8) >+ [% CASE 'utf8' %]MARC (Unicode/UTF-8) >+ [% CASE 'marcstd' %]MARC (Unicode/UTF-8, Standard) >+ [% CASE 'mods' %]MODS (XML) >+ [% CASE 'ris' %]RIS >+ [% END %] >+ </a> >+ </li> >+ [% END %] > [% END %] > </ul> > </div> >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13642
:
35637
|
35638
|
35639
|
35640
|
35641
|
35642
|
35643
|
35644
|
35645
|
35663
|
35957
|
35981
|
35982
|
35983
|
35999
|
36000
|
36005
|
36006
|
36147
|
36154
|
36631
|
36632
|
36633
|
36636
|
36714
|
38220
|
38819
|
39623
|
39654
|
40786
|
40787
|
42168
|
43311
|
43313
|
43545
|
43548
|
43549
|
43586
|
43612
|
44627
|
44629
|
44658
|
44659
|
44660
|
44661
|
44662
|
44669
|
44672
|
44677
|
44727
|
44728
|
44729
|
44815
|
44816
|
44819
|
45970
|
45971
|
46514
|
46584
|
46585
|
46586
|
46587
|
46588