Bugzilla – Attachment 3690 Details for
Bug 5949
Popup alert when deleting orders from a basket
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Follow up fixing appearance of 'Edit record' link on neworderempty form
0001-Bug-5949-Hide-Edit-record-link-when-creating-new-ord.patch (text/plain), 1.56 KB, created by
Katrin Fischer
on 2011-04-05 13:42:19 UTC
(
hide
)
Description:
Follow up fixing appearance of 'Edit record' link on neworderempty form
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2011-04-05 13:42:19 UTC
Size:
1.56 KB
patch
obsolete
>From 2ceea8a0cc062596511cad904c1e053f3d1225f1 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Tue, 5 Apr 2011 15:40:34 +0200 >Subject: [PATCH] Bug 5949: Hide 'Edit record' link when creating new order >Content-Type: text/plain; charset="utf-8" > >The 'Edit record' link only makes sense, when you want to modify >an order after creating it. Before there is no biblionumber the link >can link to. Patch adds check for existing biblionumber so link is >only shown when there is an existing record to be edited. >--- > .../prog/en/modules/acqui/neworderempty.tmpl | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >index e2895c6..6b38ca0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >@@ -171,7 +171,9 @@ $(document).ready(function() > <fieldset class="rows"> > <legend> > Catalog details >- <span><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!--TMPL_VAR NAME= "biblionumber"-->"> Edit record</a></span> >+ <!-- TMPL_IF name="biblionumber" --> >+ <span><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!--TMPL_VAR NAME= "biblionumber"-->"> Edit record</a></span> >+ <!-- /TMPL_IF --> > </legend> > <!-- TMPL_UNLESS name="existing" --> > <input type="hidden" name="existing" value="no" /> >-- >1.7.1 >
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 5949
:
3429
|
3613
| 3690