From aa1687ef3bf545dcbd24d90e471f0fb663a61d2d Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Sat, 28 Apr 2018 02:30:55 +0200
Subject: [PATCH] Bug 11317: (QA follow-up) Change tool name to be more general
I think this tool could be used in multiple ways, for all kinds
of files that you want to protect by login in Koha. So a more
general name might work better.
This is a suggestion, not mandatory.
---
koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc | 2 +-
koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt | 8 ++++----
koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc
index 67783e267c..d3e03a95ad 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc
@@ -109,6 +109,6 @@
<li><a href="/cgi-bin/koha/tools/upload.pl">Upload any file</a></li>
[% END %]
[% IF ( CAN_user_tools_access_files ) %]
- <li><a href="/cgi-bin/koha/tools/access_files.pl">Report/log files</a></li>
+ <li><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></li>
[% END %]
</ul></div></div>
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt
index 74f4a7245c..88881c1b82 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt
@@ -1,7 +1,7 @@
[% USE Asset %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
-<title>Report/log files</title>
+<title>Access files</title>
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") %]
</head>
@@ -9,17 +9,17 @@
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › Report/log files</div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › Access files</div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
- <h1>Report/log files</h1>
+ <h1>Access files</h1>
[% IF ( error_no_dir ) %]
- <div class="dialog alert"><strong>Error: </strong>Report/log files could not be found because the "access_dir" option was not set in "koha-conf.xml". Contact your system administrator to add this option.</div>
+ <div class="dialog alert"><strong>Error: </strong>Files could not be found because the "access_dir" option was not set in "koha-conf.xml". Contact your system administrator to add this option.</div>
[% ELSE %]
[% IF ( files_loop ) %]
<table id="files">
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt
index da1884b865..0152389a9b 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt
@@ -115,8 +115,8 @@
[% END %]
[% IF CAN_user_tools_access_files %]
- <dt><a href="/cgi-bin/koha/tools/access_files.pl">Report/log files</a></dt>
- <dd>Access report or log files</dd>
+ <dt><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></dt>
+ <dd>Access files stored on the server, like log files or reports</dd>
[% END %]
</dl>
--
2.14.1