commit acf0d7144b1218763642d84d51a8f19b9bbfa22e
parent 29da9f18b431d826605fcdd3161fe21e5c3c856a
Author: Jan Dankert <devnull@localhost>
Date: Sat, 28 Jan 2017 02:36:09 +0100
Statt 'el' das sprechendere 'projects' verwenden.
Diffstat:
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/action/ProjectlistAction.class.php b/action/ProjectlistAction.class.php
@@ -51,12 +51,10 @@ class ProjectlistAction extends Action
foreach( Project::getAll() as $id=>$name )
{
$list[$id] = array();
- $list[$id]['url' ] = Html::url('project','edit',$id);
$list[$id]['id' ] = $id;
- $list[$id]['use_url' ] = Html::url('tree' ,'load',0 ,array('projectid'=>$id,'target'=>'tree'));
$list[$id]['name' ] = $name;
}
- $this->setTemplateVar('el',$list);
+ $this->setTemplateVar('projects',$list);
}
diff --git a/themes/default/templates/projectlist/show.tpl.src.xml b/themes/default/templates/projectlist/show.tpl.src.xml
@@ -7,7 +7,7 @@
<text key="name"></text>
</column>
</row>
- <list list="el" extract="true">
+ <list list="projects" extract="true">
<row class="data">
<column class="clickable">
<link type="open" id="var:id" name="var:name" action="project">