This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 8f90d63466c18e4f612e463ff0ce44183434a936 (commit)
from 061743ee43e7f18cbed5d147c9087bc67973a9d8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=8f90d63466c18e4f612e463ff0ce44183434a936
commit 8f90d63466c18e4f612e463ff0ce44183434a936
Author: Franck Villaume <[email protected]>
Date: Sun Dec 22 19:15:08 2019 +0100
use themable txt pic
diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index e6136b0..99a90d2 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -8,7 +8,7 @@
* Copyright 2010-2012, Alain Peyrat - Alcatel-Lucent
* Copyright © 2011 Thorsten Glaser – tarent GmbH
* Copyright 2011 - Marc-Etienne Vargenau, Alcatel-Lucent
- * Copyright 2012-2018, Franck Villaume - TrivialDev
+ * Copyright 2012-2019, Franck Villaume - TrivialDev
* http://fusionforge.org
*
* This file is part of FusionForge. FusionForge is free software;
@@ -1040,6 +1040,10 @@ abstract class Layout extends FFError {
return $this->getPicto('ic/pointer_down.png', $title, $alt, 20,
20, $otherAttr);
}
+ function getFileTxtPic($title = '', $alt = '', $otherAttr = array()) {
+ return $this->getPicto('ic/file-txt.png', $title, $alt, 20, 20,
$otherAttr);
+ }
+
function getPicto($url, $title, $alt, $width = 20, $height = 20,
$otherAttr = array()) {
if ($title != '') {
$otherAttr['title'] = $title;
diff --git a/src/www/tracker/roadmap.php b/src/www/tracker/roadmap.php
index da0ab95..a0063a0 100644
--- a/src/www/tracker/roadmap.php
+++ b/src/www/tracker/roadmap.php
@@ -473,7 +473,7 @@ if (!$at_arr || count($at_arr) < 1) {
$roadmap_name._(': '),
util_make_uri('/tracker/roadmap.php?group_id='.$group_id.'&roadmap_id='.$roadmap_id.'&release='.urlencode($release_value)),
$release_value,
- '
'.html_image("ic/file-txt.png",'','',array("alt"=>_('Display as text'),
"title"=>_('Display as text'),
"onclick"=>"getReleaseTxt('".addslashes($release_value)."')")));
+ ' '.$HTML->getFileTxtPic(_('Display as text'),
_('Display as text'),
array("onclick"=>"getReleaseTxt('".addslashes($release_value)."')")));
// Graph
if ($display_graph && $templates[$template]['display_graph']) {
-----------------------------------------------------------------------
Summary of changes:
src/www/include/Layout.class.php | 6 +++++-
src/www/tracker/roadmap.php | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits