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  9f97ce7d2611a20bf640f4437ce769750b723960 (commit)
       via  a3aa7160d80407ec4f8af907b45665e942e19d0e (commit)
      from  464bd897a10fa0652be931777fbe18ccd51e92af (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=9f97ce7d2611a20bf640f4437ce769750b723960

commit 9f97ce7d2611a20bf640f4437ce769750b723960
Author: Alain Peyrat <[email protected]>
Date:   Wed Jul 8 09:47:00 2015 +0200

    Hack for burndown view

diff --git a/src/plugins/taskboard/www/releases/index.php 
b/src/plugins/taskboard/www/releases/index.php
index 86a847d..ca0eec4 100644
--- a/src/plugins/taskboard/www/releases/index.php
+++ b/src/plugins/taskboard/www/releases/index.php
@@ -50,7 +50,7 @@ if (!$group_id) {
                        
include($gfplugins.$pluginTaskboard->name.'/common/actions/'.$action.'.php');
                }
 
-               $allowedViews = array('add_release', 'delete_release', 
'edit_release');
+               $allowedViews = array('add_release', 'delete_release', 
'edit_release', 'burndown');
                $view = getStringFromRequest('view');
 
                if( in_array($view, $allowedViews) ) {

https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=a3aa7160d80407ec4f8af907b45665e942e19d0e

commit a3aa7160d80407ec4f8af907b45665e942e19d0e
Author: Alain Peyrat <[email protected]>
Date:   Wed Jul 22 15:34:27 2015 +0200

    Hack to display burndown view from the release view

diff --git a/src/plugins/taskboard/common/views/releases/ind.php 
b/src/plugins/taskboard/common/views/releases/ind.php
index 243a7f8..55c31b5 100644
--- a/src/plugins/taskboard/common/views/releases/ind.php
+++ b/src/plugins/taskboard/common/views/releases/ind.php
@@ -49,7 +49,7 @@ if ($taskboardReleases === false) {
 
 echo html_e('p', array(), 
util_make_link('/plugins/'.$pluginTaskboard->name.'/releases/?group_id='.$group_id.'&view=add_release',
 html_e('strong', array(), _('Add release'))));
 
-$tablearr = array(_('Title'),_('Start date'),_('End date'), _('Goals'), 
_('Page'));
+$tablearr = array(_('Title'),_('Start date'),_('End date'), _('Goals'), 
_('Page'), _('Charts'));
 
 echo $HTML->listTableTop($tablearr, false, 'sortable_table_tracker', 
'sortable_table_tracker');
 
@@ -77,6 +77,7 @@ foreach ($taskboardReleases as $release) {
                <td>'.date("Y-m-d", $release->getEndDate()).'</td>
                <td>'.htmlspecialchars( $release->getGoals() ).'</td>
                <td>'. ( $release->getPageUrl() ? '<a 
href="'.$release->getPageUrl().'" target="_blank">'.htmlspecialchars( 
$release->getPageUrl() ).'</a>' : '' ).'</td>
+               <td><a 
href="/plugins/'.$pluginTaskboard->name.'/releases/?group_id='.$group_id.'&view=burndown&release_id='.$release->getID().'">'._('Burndown').'</a>'.'</td>
        </tr>
        ';
 }

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

Summary of changes:
 src/plugins/taskboard/common/views/releases/ind.php | 3 ++-
 src/plugins/taskboard/www/releases/index.php        | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to