[Rt-commit] rt branch, 4.2/help-info-in-login, updated. rt-4.1.17-142-gd9e5cbb

Alex Vandiver alexmv at bestpractical.com
Fri Aug 2 16:17:30 EDT 2013


The branch, 4.2/help-info-in-login has been updated
       via  d9e5cbb5dffc740f5012af726b262cb169e00737 (commit)
      from  b1cb8e10e6cc17c47981a3b18e1881a5f52e25f9 (commit)

Summary of changes:
 share/html/Elements/LoginHelp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit d9e5cbb5dffc740f5012af726b262cb169e00737
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Fri Aug 2 12:57:06 2013 -0400

    Only show the owner email if it is changed from the default

diff --git a/share/html/Elements/LoginHelp b/share/html/Elements/LoginHelp
index 657a7d4..ece7a5e 100644
--- a/share/html/Elements/LoginHelp
+++ b/share/html/Elements/LoginHelp
@@ -50,4 +50,7 @@
 For local help, please contact [_1]
 </&>
 </div>
-
+<%init>
+my $source = RT->Config->Meta('OwnerEmail')->{Source};
+return unless $source->{SiteConfig} or $source->{Extension};
+</%init>

-----------------------------------------------------------------------


More information about the Rt-commit mailing list