Bugzilla – Attachment 98274 Details for
Bug 11161
Relabel 'child fund' to 'sub fund'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11161: Relabel 'child fund' to 'sub fund' in staff interface
Bug-11161-Relabel-child-fund-to-sub-fund-in-staff-.patch (text/plain), 3.76 KB, created by
David Nind
on 2020-02-03 08:56:44 UTC
(
hide
)
Description:
Bug 11161: Relabel 'child fund' to 'sub fund' in staff interface
Filename:
MIME Type:
Creator:
David Nind
Created:
2020-02-03 08:56:44 UTC
Size:
3.76 KB
patch
obsolete
>From 5dac3db552bd5f2dd3e275f75eecaf2eea5bfd3a Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 12 Jan 2020 12:40:51 +0100 >Subject: [PATCH] Bug 11161: Relabel 'child fund' to 'sub fund' in staff > interface >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >It was noted, that 'sub fund' might be a better term to use than >'child fund'. So this patch changes it. > >To test, check with and without patch: > >- Add a budget in acquisitions >- Add a fund in acquisitions >- Add a sub/child fund to your fund (label of menu item #1) >- Edit your first fund, check option to update owners of > sub/child funds (#2) >- Try to delete your 'parent' fund (tooltip #3) >- Click on the greyed out entry (alert ÃÃ#4) > >If you like the chane, please sign-off. If you think otherwise, >please comment on the bug report. > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >index 6a4f35a3b4..f8e985cd4a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >@@ -177,11 +177,11 @@ > <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="budgetactions[% budget.budget_id | html %]_[% budget.budget_period_id | html %]"> > <li><a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_id=[% budget.budget_id | uri %]&budget_period_id=[% budget.budget_period_id | uri %]"><i class="fa fa-pencil"></i> Edit</a></li> > [% IF budget.budget_has_children %] >- <li class="disabled"><a href="#" class="deletefund-disabled" data-toggle="tooltip" data-placement="left" title="This fund has children"><i class="fa fa-trash"></i> Delete</a></li> >+ <li class="disabled"><a href="#" class="deletefund-disabled" data-toggle="tooltip" data-placement="left" title="This fund has sub funds."><i class="fa fa-trash"></i> Delete</a></li> > [% ELSE %] > <li><a href="/cgi-bin/koha/admin/aqbudgets.pl?op=delete_confirm&budget_id=[% budget.budget_id | uri %]&budget_period_id=[% budget.budget_period_id | uri %]"><i class="fa fa-trash"></i> Delete</a></li> > [% END %] >- <li><a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_parent_id=[% budget.budget_id | uri %]&budget_period_id=[% budget.budget_period_id | uri %]"><i class="fa fa-plus"></i> Add child fund</a></li> >+ <li><a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_parent_id=[% budget.budget_id | uri %]&budget_period_id=[% budget.budget_period_id | uri %]"><i class="fa fa-plus"></i> Add sub fund</a></li> > </ul> > </div> > </td> >@@ -268,7 +268,7 @@ > <li class="radio"> > <label> > <input type="checkbox" id="set_owner_to_children" name="set_owner_to_children" value="1" /> >- Update all child funds with this owner >+ Update all sub funds with this owner > </label> > <span class="hint">Selecting this option will overwrite existing fund owners, if any</span> > </li> >@@ -694,7 +694,7 @@ > > $(".deletefund-disabled").tooltip().on("click", function(e){ > e.preventDefault(); >- alert(_("This fund has children. It cannot be deleted.")); >+ alert(_("This fund has sub funds. It cannot be deleted.")); > }); > }); > //]]> >-- >2.11.0
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 11161
:
97269
|
98274
|
99368