[Rt-commit] [rtir] 08/08: No longer display the Articles titlebox unless articles are linked

Kevin Falcone falcone at bestpractical.com
Mon Aug 18 12:26:08 EDT 2014


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch 3.2/clean-up-articles-code
in repository rtir.

commit d8062956bdd59d7016bf807def75b981eb1a8aa5
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Aug 15 22:50:02 2014 -0400

    No longer display the Articles titlebox unless articles are linked
    
    Now that we no longer have Create/Link action links, we can safely hide
    the box unless someone has added a link to an article to the ticket.
---
 html/RTIR/Elements/ShowArticles | 1 +
 1 file changed, 1 insertion(+)

diff --git a/html/RTIR/Elements/ShowArticles b/html/RTIR/Elements/ShowArticles
index 4a2de37..dd69e3a 100644
--- a/html/RTIR/Elements/ShowArticles
+++ b/html/RTIR/Elements/ShowArticles
@@ -50,6 +50,7 @@
     title_href     => RT->Config->Get('WebPath') ."/RTIR/Advanced.html?id=".$id, 
     title_class    => 'inverse',
     class          => 'ticket-info-articles',
+    hide_empty     => 1,
 &>
 
 <& /Elements/CollectionList,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list