Bug 14929: Fix missing display of help page in contract management
authorMarc Véron <veron@veron.ch>
Thu, 1 Oct 2015 08:51:18 +0000 (10:51 +0200)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Fri, 2 Oct 2015 14:08:20 +0000 (11:08 -0300)
This patch renames / moves  the file
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/acqcontract.tt
to
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/aqcontract.tt

To test:
- Go to Home > Acquisition > [Vendor] > Contracts
  (/cgi-bin/koha/admin/aqcontract.pl?booksellerid=XXXX)
- Verify that Help displays as appropriate.

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Works as advertised. All the tabs similar to "Contracts" have
working help pages.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/acqcontract.tt [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/aqcontract.tt [new file with mode: 0644]

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/acqcontract.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/help/acqui/acqcontract.tt
deleted file mode 100644 (file)
index fdf9116..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-[% INCLUDE 'help-top.inc' %]
-
-<h1>Vendor Contracts</h1>
-
-<p>You can define contracts (with a start and end date) and attach them to a vendor. This is used so that at the end of the year you can see how much you spent on a specific contract with a vendor. In some places, contracts are set up with a minimum and maximum yearly amount.</p>
-
-<h2>Add a Contract</h2>
-
-<p>At the top of a Vendor Information Page, you will see a 'New Contract' button.</p>
-
-<p>The contract form will ask for some very basic information about the contract.</p>
-
-<p style="color: #ff0000">Important: You cannot enter a contract retrospectively. The end date must not be before today's date.</p>
-
-<p>Once the contract is saved it will appear below the vendor information.</p>
-
-<p>It will also be an option when creating a basket.</p>
-
-<p><strong>See the full documentation for Vendor Contracts in the <a href="http://manual.koha-community.org/[% helpVersion %]/en/acqvendors.html#vendorcontracts">manual</a> (online).</strong></p>
-
-[% INCLUDE 'help-bottom.inc' %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/aqcontract.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/aqcontract.tt
new file mode 100644 (file)
index 0000000..fdf9116
--- /dev/null
@@ -0,0 +1,21 @@
+[% INCLUDE 'help-top.inc' %]
+
+<h1>Vendor Contracts</h1>
+
+<p>You can define contracts (with a start and end date) and attach them to a vendor. This is used so that at the end of the year you can see how much you spent on a specific contract with a vendor. In some places, contracts are set up with a minimum and maximum yearly amount.</p>
+
+<h2>Add a Contract</h2>
+
+<p>At the top of a Vendor Information Page, you will see a 'New Contract' button.</p>
+
+<p>The contract form will ask for some very basic information about the contract.</p>
+
+<p style="color: #ff0000">Important: You cannot enter a contract retrospectively. The end date must not be before today's date.</p>
+
+<p>Once the contract is saved it will appear below the vendor information.</p>
+
+<p>It will also be an option when creating a basket.</p>
+
+<p><strong>See the full documentation for Vendor Contracts in the <a href="http://manual.koha-community.org/[% helpVersion %]/en/acqvendors.html#vendorcontracts">manual</a> (online).</strong></p>
+
+[% INCLUDE 'help-bottom.inc' %]