diff --git a/src/IDF/Views.php b/src/IDF/Views.php
index de89a5e..cc7290d 100644
--- a/src/IDF/Views.php
+++ b/src/IDF/Views.php
@@ -37,7 +37,7 @@ class IDF_Views
public function index($request, $match)
{
$projects = Pluf::factory('IDF_Project')->getList();
- return Pluf_Shortcuts_RenderToResponse('index.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/index.html',
array('page_title' => __('Projects'),
'projects' => $projects),
$request);
@@ -90,7 +90,7 @@ class IDF_Views
$init = (isset($request->GET['login'])) ? array('initial' => array('login' => $request->GET['login'])) : array();
$form = new IDF_Form_Register(null, $init);
}
- return Pluf_Shortcuts_RenderToResponse('register/index.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/register/index.html',
array('page_title' => $title,
'form' => $form),
$request);
@@ -114,7 +114,7 @@ class IDF_Views
} else {
$form = new IDF_Form_RegisterInputKey();
}
- return Pluf_Shortcuts_RenderToResponse('register/inputkey.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/register/inputkey.html',
array('page_title' => $title,
'form' => $form),
$request);
@@ -157,7 +157,7 @@ class IDF_Views
} else {
$form = new IDF_Form_RegisterConfirmation(null, $extra);
}
- return Pluf_Shortcuts_RenderToResponse('register/confirmation.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/register/confirmation.html',
array('page_title' => $title,
'new_user' => $user,
'form' => $form),
@@ -171,7 +171,7 @@ class IDF_Views
{
$title = __('Here to Help You!');
$projects = Pluf::factory('IDF_Project')->getList();
- return Pluf_Shortcuts_RenderToResponse('faq.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/faq.html',
array(
'page_title' => $title,
'projects' => $projects,
diff --git a/src/IDF/Views/Download.php b/src/IDF/Views/Download.php
index 23fa425..6f85f90 100644
--- a/src/IDF/Views/Download.php
+++ b/src/IDF/Views/Download.php
@@ -72,7 +72,7 @@ class IDF_Views_Download
$pag->sort_order = array('creation_dtime', 'DESC');
$pag->setFromRequest($request);
$tags = $prj->getTagCloud('downloads');
- return Pluf_Shortcuts_RenderToResponse('downloads/index.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/downloads/index.html',
array(
'page_title' => $title,
'downloads' => $pag,
@@ -121,7 +121,7 @@ class IDF_Views_Download
'project' => $prj,
'user' => $request->user));
}
- return Pluf_Shortcuts_RenderToResponse('downloads/view.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/downloads/view.html',
array(
'file' => $upload,
'deprecated' => $deprecated,
@@ -158,7 +158,7 @@ class IDF_Views_Download
array($prj->shortname));
return new Pluf_HTTP_Response_Redirect($url);
}
- return Pluf_Shortcuts_RenderToResponse('downloads/delete.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/downloads/delete.html',
array(
'file' => $upload,
'deprecated' => $deprecated,
@@ -209,7 +209,7 @@ class IDF_Views_Download
array('project' => $prj,
'user' => $request->user));
}
- return Pluf_Shortcuts_RenderToResponse('downloads/submit.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/downloads/submit.html',
array(
'auto_labels' => self::autoCompleteArrays($prj),
'page_title' => $title,
@@ -279,7 +279,7 @@ class IDF_Views_Download
$pag->sort_order = array('creation_dtime', 'DESC');
$pag->setFromRequest($request);
$tags = $prj->getTagCloud('downloads');
- return Pluf_Shortcuts_RenderToResponse('downloads/index.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/downloads/index.html',
array(
'page_title' => $title,
'label' => $tag,
diff --git a/src/IDF/Views/Issue.php b/src/IDF/Views/Issue.php
index 507cc1f..0863a35 100644
--- a/src/IDF/Views/Issue.php
+++ b/src/IDF/Views/Issue.php
@@ -65,7 +65,7 @@ class IDF_Views_Issue
$pag->items_per_page = 10;
$pag->no_results_text = __('No issues were found.');
$pag->setFromRequest($request);
- return Pluf_Shortcuts_RenderToResponse('issues/index.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/issues/index.html',
array('project' => $prj,
'page_title' => $title,
'open' => $open,
@@ -121,7 +121,7 @@ class IDF_Views_Issue
$pag->items_per_page = 10;
$pag->no_results_text = __('No issues were found.');
$pag->setFromRequest($request);
- return Pluf_Shortcuts_RenderToResponse('issues/my-issues.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/issues/my-issues.html',
array('project' => $prj,
'page_title' => $title,
'nb_submit' => $nb_submit,
@@ -175,7 +175,7 @@ class IDF_Views_Issue
$form = new IDF_Form_IssueCreate(null, $params);
}
$arrays = self::autoCompleteArrays($prj);
- return Pluf_Shortcuts_RenderToResponse('issues/create.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/issues/create.html',
array_merge(
array('project' => $prj,
'form' => $form,
@@ -223,7 +223,7 @@ class IDF_Views_Issue
'issues' => $pag,
'q' => $q,
);
- return Pluf_Shortcuts_RenderToResponse('issues/search.html', $params, $request);
+ return Pluf_Shortcuts_RenderToResponse('idf/issues/search.html', $params, $request);
}
@@ -297,7 +297,7 @@ class IDF_Views_Issue
}
}
$arrays = self::autoCompleteArrays($prj);
- return Pluf_Shortcuts_RenderToResponse('issues/view.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/issues/view.html',
array_merge(
array(
'issue' => $issue,
@@ -362,7 +362,7 @@ class IDF_Views_Issue
$pag->items_per_page = 10;
$pag->no_results_text = __('No issues were found.');
$pag->setFromRequest($request);
- return Pluf_Shortcuts_RenderToResponse('issues/index.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/issues/index.html',
array('project' => $prj,
'page_title' => $title,
'open' => $open,
@@ -424,7 +424,7 @@ class IDF_Views_Issue
} else {
$completion = false;
}
- return Pluf_Shortcuts_RenderToResponse('issues/by-label.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/issues/by-label.html',
array('project' => $prj,
'completion' => $completion,
'page_title' => $title,
diff --git a/src/IDF/Views/Project.php b/src/IDF/Views/Project.php
index c20b48e..f166527 100644
--- a/src/IDF/Views/Project.php
+++ b/src/IDF/Views/Project.php
@@ -45,7 +45,7 @@ class IDF_Views_Project
// the first tag is the featured, the last is the deprecated.
$downloads = $tags[0]->get_idf_upload_list();
}
- return Pluf_Shortcuts_RenderToResponse('project/home.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/project/home.html',
array(
'page_title' => $title,
'team' => $team,
@@ -102,7 +102,7 @@ class IDF_Views_Project
// the first tag is the featured, the last is the deprecated.
$downloads = $tags[0]->get_idf_upload_list();
}
- return Pluf_Shortcuts_RenderToResponse('project/timeline.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/project/timeline.html',
array(
'page_title' => $title,
'timeline' => $pag,
@@ -136,7 +136,7 @@ class IDF_Views_Project
$form = Pluf_Shortcuts_GetFormForModel($prj, $prj->getData(),
$form_fields);
}
- return Pluf_Shortcuts_RenderToResponse('admin/summary.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/admin/summary.html',
array(
'page_title' => $title,
'form' => $form,
@@ -180,7 +180,7 @@ class IDF_Views_Project
}
$form = new IDF_Form_IssueTrackingConf($params);
}
- return Pluf_Shortcuts_RenderToResponse('admin/issue-tracking.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/admin/issue-tracking.html',
array(
'page_title' => $title,
'form' => $form,
@@ -223,7 +223,7 @@ class IDF_Views_Project
}
$form = new IDF_Form_UploadConf($params);
}
- return Pluf_Shortcuts_RenderToResponse('admin/downloads.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/admin/downloads.html',
array(
'page_title' => $title,
'form' => $form,
@@ -255,7 +255,7 @@ class IDF_Views_Project
} else {
$form = new IDF_Form_MembersConf($prj->getMembershipData('string'), $params);
}
- return Pluf_Shortcuts_RenderToResponse('admin/members.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/admin/members.html',
array(
'page_title' => $title,
'form' => $form,
@@ -300,7 +300,7 @@ class IDF_Views_Project
}
$form = new IDF_Form_TabsConf($params, $extra);
}
- return Pluf_Shortcuts_RenderToResponse('admin/tabs.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/admin/tabs.html',
array(
'page_title' => $title,
'form' => $form,
@@ -345,7 +345,7 @@ class IDF_Views_Project
}
$form = new IDF_Form_SourceConf($params, $extra);
}
- return Pluf_Shortcuts_RenderToResponse('admin/source.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/admin/source.html',
array(
'page_title' => $title,
'form' => $form,
diff --git a/src/IDF/Views/Source.php b/src/IDF/Views/Source.php
index 1e228dd..3bfed35 100644
--- a/src/IDF/Views/Source.php
+++ b/src/IDF/Views/Source.php
@@ -59,7 +59,7 @@ class IDF_Views_Source
}
$changes = new Pluf_Template_ContextVars($changes);
$scmConf = $request->conf->getVal('scm', 'git');
- return Pluf_Shortcuts_RenderToResponse('source/changelog.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/source/changelog.html',
array(
'page_title' => $title,
'title' => $title,
@@ -95,7 +95,7 @@ class IDF_Views_Source
if ($scmConf === 'svn') {
$props = $scm->getProperties($commit);
}
- return Pluf_Shortcuts_RenderToResponse('source/'.$scmConf.'/tree.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/source/'.$scmConf.'/tree.html',
array(
'page_title' => $title,
'title' => $title,
@@ -165,7 +165,7 @@ class IDF_Views_Source
if ($scmConf === 'svn') {
$props = $scm->getProperties($commit, $request_file);
}
- return Pluf_Shortcuts_RenderToResponse('source/'.$scmConf.'/tree.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/source/'.$scmConf.'/tree.html',
array(
'page_title' => $page_title,
'title' => $title,
@@ -218,7 +218,7 @@ class IDF_Views_Source
$diff = new IDF_Diff($cobject->changes);
$diff->parse();
$scmConf = $request->conf->getVal('scm', 'git');
- return Pluf_Shortcuts_RenderToResponse('source/commit.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/source/commit.html',
array(
'page_title' => $page_title,
'title' => $title,
@@ -257,7 +257,7 @@ class IDF_Views_Source
$props = $scm->getProperties($commit, $request_file);
}
$content = self::highLight($extra['mime'], $scm->getBlob($request_file_info, $commit));
- return Pluf_Shortcuts_RenderToResponse('source/'.$scmConf.'/file.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/source/'.$scmConf.'/file.html',
array(
'page_title' => $page_title,
'title' => $title,
diff --git a/src/IDF/Views/User.php b/src/IDF/Views/User.php
index c1e9e7b..ca553ab 100644
--- a/src/IDF/Views/User.php
+++ b/src/IDF/Views/User.php
@@ -50,7 +50,7 @@ class IDF_Views_User
} else {
$form = new IDF_Form_UserAccount($request->user->getData(), $params);
}
- return Pluf_Shortcuts_RenderToResponse('user/myaccount.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/user/myaccount.html',
array('page_title' => __('Your Account'),
'form' => $form),
$request);
@@ -67,7 +67,7 @@ class IDF_Views_User
if (count($users) != 1 or !$users[0]->active) {
throw new Pluf_HTTP_Error404();
}
- return Pluf_Shortcuts_RenderToResponse('user/public.html',
+ return Pluf_Shortcuts_RenderToResponse('idf/user/public.html',
array('page_title' => (string) $users[0],
'member' => $users[0],
'projects' => $projects,
diff --git a/src/IDF/templates/admin/base.html b/src/IDF/templates/admin/base.html
deleted file mode 100644
index 27dccb4..0000000
--- a/src/IDF/templates/admin/base.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{extends "base.html"}
-{block tabadmin} class="active"{/block}
-{block subtabs}
-
-{/block}
diff --git a/src/IDF/templates/admin/downloads.html b/src/IDF/templates/admin/downloads.html
deleted file mode 100644
index 3c2c1b5..0000000
--- a/src/IDF/templates/admin/downloads.html
+++ /dev/null
@@ -1,34 +0,0 @@
-{extends "admin/base.html"}
-{block docclass}yui-t1{assign $inDownloads = true}{/block}
-{block body}
-
-{/block}
-{block context}
-
-{blocktrans}
-
Instructions:
-
List one status value per line in desired sort-order.
-
Optionally, use an equals-sign to document the meaning of each status value.
-{/blocktrans}
-
-{/block}
diff --git a/src/IDF/templates/admin/issue-tracking.html b/src/IDF/templates/admin/issue-tracking.html
deleted file mode 100644
index d4820b5..0000000
--- a/src/IDF/templates/admin/issue-tracking.html
+++ /dev/null
@@ -1,49 +0,0 @@
-{extends "admin/base.html"}
-{block docclass}yui-t1{assign $inIssueTracking = true}{/block}
-{block body}
-
-
-
-{/block}
-
-{block context}
-
-{blocktrans}
-
Instructions:
-
List one status value per line in desired sort-order.
-
Optionally, use an equals-sign to document the meaning of each status value.
-{/blocktrans}
-
-{/block}
diff --git a/src/IDF/templates/admin/members.html b/src/IDF/templates/admin/members.html
deleted file mode 100644
index 6be580b..0000000
--- a/src/IDF/templates/admin/members.html
+++ /dev/null
@@ -1,44 +0,0 @@
-{extends "admin/base.html"}
-{block docclass}yui-t3{assign $inMembers = true}{/block}
-{block body}
-
-
-
-{/block}
-
-{block context}
-
-{blocktrans}
-
Instructions:
-
Specify each person by its login. Each person must have already registered with the given login.
-
Separate the logins with commas and/or new lines.
-{/blocktrans}
-
-
-{blocktrans}
-
Notes:
-
A project owner may make any change to this project, including removing other project owners. You need to be carefull when you give owner rights.
-
A project member will not have access to the administration area but will have more options available in the use of the project.
-{/blocktrans}
-
-{/block}
diff --git a/src/IDF/templates/admin/source.html b/src/IDF/templates/admin/source.html
deleted file mode 100644
index aa4d6a2..0000000
--- a/src/IDF/templates/admin/source.html
+++ /dev/null
@@ -1,52 +0,0 @@
-{extends "admin/base.html"}
-{block docclass}yui-t1{assign $inSource = true}{/block}
-{block body}
-{if $form.errors}
-
-
{trans 'The form contains some errors. Please correct them to update the source configuration.'}
-{if $form.get_top_errors}
-{$form.render_top_errors|unsafe}
-{/if}
-
-{/if}
-
-{/block}
-{block context}
-
-
{trans 'Instructions:'}
-
{blocktrans}You can select the type of repository you want. In the case of subversion, you can use optionally a remote repository instead of the local one.{/blocktrans}
-
-{/block}
diff --git a/src/IDF/templates/admin/summary.html b/src/IDF/templates/admin/summary.html
deleted file mode 100644
index a81a32b..0000000
--- a/src/IDF/templates/admin/summary.html
+++ /dev/null
@@ -1,42 +0,0 @@
-{extends "admin/base.html"}
-{block docclass}yui-t1{assign $inSummary = true}{/block}
-{block body}
-{if $form.errors}
-
-
{trans 'The form contains some errors. Please correct them to update the summary.'}
-{if $form.get_top_errors}
-{$form.render_top_errors|unsafe}
-{/if}
-
-{/if}
-
-{/block}
-
-{block context}
-
-{assign $url = 'http://daringfireball.net/projects/markdown/syntax'}
-{blocktrans}
-
Instructions:
-
The description of the project can be improved using the Markdown syntax .
-{/blocktrans}
-
-{/block}
diff --git a/src/IDF/templates/admin/tabs.html b/src/IDF/templates/admin/tabs.html
deleted file mode 100644
index fce8782..0000000
--- a/src/IDF/templates/admin/tabs.html
+++ /dev/null
@@ -1,45 +0,0 @@
-{extends "admin/base.html"}
-{block docclass}yui-t1{assign $inTabs = true}{/block}
-{block body}
-{if $form.errors}
-
-
{trans 'The form contains some errors. Please correct them to update the access rights.'}
-{if $form.get_top_errors}
-{$form.render_top_errors|unsafe}
-{/if}
-
-{/if}
-
-{/block}
-{block context}
-
-
{trans 'Instructions:'}
-
{blocktrans}You can configure here the project tabs access rights.{/blocktrans}
-
-{/block}
diff --git a/src/IDF/templates/base-simple.html b/src/IDF/templates/base-simple.html
deleted file mode 100644
index 2a5cd1c..0000000
--- a/src/IDF/templates/base-simple.html
+++ /dev/null
@@ -1,63 +0,0 @@
-
-{*
-# ***** BEGIN LICENSE BLOCK *****
-# This file is part of InDefero, an open source project management application.
-# Copyright (C) 2008 Céondo Ltd and contributors.
-#
-# InDefero is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# InDefero is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#
-# ***** END LICENSE BLOCK *****
-*}
-
-
-
-
-
- {block extraheader}{/block}
- {block pagetitle}{$page_title|strip_tags}{/block}
-
-
-
-
-
-
-
-
- {if $user and $user.id}{getmsgs $user}{/if}
-
{block body}{/block}
-
-
-
-
{block context}{/block}
-
-
{block foot}
{/block}
-
-
-{block javascript}{/block}
-
-
diff --git a/src/IDF/templates/base.html b/src/IDF/templates/base.html
deleted file mode 100644
index 011bc64..0000000
--- a/src/IDF/templates/base.html
+++ /dev/null
@@ -1,86 +0,0 @@
-
-{*
-# ***** BEGIN LICENSE BLOCK *****
-# This file is part of InDefero, an open source project management application.
-# Copyright (C) 2008 Céondo Ltd and contributors.
-#
-# InDefero is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# InDefero is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#
-# ***** END LICENSE BLOCK *****
-*}
-
-
-
-
-
- {block extraheader}{/block}
- {block pagetitle}{$page_title|strip_tags}{/block}
-
-
-
-
-
-
-
-
- {if $user and $user.id}{getmsgs $user}{/if}
-
{block body}{/block}
-
-
-
-
{block context}{/block}
-
-
{block foot}{/block}
-
-
-{include 'js-hotkeys.html'}
-{block javascript}{/block}
-{if $project}
-{/if}
-
-
diff --git a/src/IDF/templates/downloads/base.html b/src/IDF/templates/downloads/base.html
deleted file mode 100644
index afb206b..0000000
--- a/src/IDF/templates/downloads/base.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{extends "base.html"}
-{block tabdownloads} class="active"{/block}
-{block subtabs}
-
-{/block}
diff --git a/src/IDF/templates/downloads/delete.html b/src/IDF/templates/downloads/delete.html
deleted file mode 100644
index 436e7e0..0000000
--- a/src/IDF/templates/downloads/delete.html
+++ /dev/null
@@ -1,40 +0,0 @@
-{extends "downloads/base.html"}
-{block docclass}yui-t3{assign $inDownloads=true}{/block}
-{block body}
-
-
-
-{blocktrans}Attention! If you want to delete a specific version of your software, maybe, someone is depending on this specific version to run his systems. Are you sure, you will not affect anybody when removing this file?{/blocktrans}
-
-{if !$deprecated}{aurl 'url', 'IDF_Views_Download::view', array($project.shortname, $file.id)}
-{blocktrans}Instead of deleting the file, you could mark it as deprecated .{/blocktrans}
{/if}
-
-
-
-{/block}
-
-{block context}
-{assign $submitter = $file.get_submitter()}
-{trans 'Uploaded:'} {$file.creation_dtime|dateago} {blocktrans}by {$submitter}{/blocktrans}
-{if $file.modif_dtime != $file.creation_dtime}
-{trans 'Updated:'} {$file.modif_dtime|dateago}
{/if}
-
-{trans 'Downloads:'} {$file.downloads}
-{if $tags.count()}
-
-{trans 'Labels:'}
-{foreach $tags as $tag}{aurl 'url', 'IDF_Views_Download::listLabel', array($project.shortname, $tag.id)}
-{$tag.class}: {$tag.name}
-{/foreach}
-
{/if}
-{/block}
diff --git a/src/IDF/templates/downloads/index.html b/src/IDF/templates/downloads/index.html
deleted file mode 100644
index e58e0ca..0000000
--- a/src/IDF/templates/downloads/index.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{extends "downloads/base.html"}
-{block docclass}yui-t1{assign $inDownloads=true}{/block}
-{block body}
-{$downloads.render}
-{if $isOwner or $isMember}
-{aurl 'url', 'IDF_Views_Download::submit', array($project.shortname)}
- {trans 'New Download'}
{/if}
-
-{/block}
-{block context}
-{trans 'Number of files:'} {$downloads.nb_items}
-{assign $class = ''}{assign $i = 0}
-{if !$label or $label.id != $dlabel.id}
-{foreach $tags as $lab}
-{aurl 'url', 'IDF_Views_Download::listLabel', array($project.shortname, $lab.id)}
-{if $class != $lab.class}{if $i != 0} {/if}{$lab.class}: {/if}
-{$lab.name} ,{assign $i = $i + 1}{assign $class = $lab.class}{/foreach}
-{/if}
-{if $deprecated > 0}
-{aurl 'url', 'IDF_Views_Download::listLabel', array($project.shortname, $dlabel.id)}
-{blocktrans}See the deprecated files .{/blocktrans}
-{/if}
-
-{/block}
-
diff --git a/src/IDF/templates/downloads/js-autocomplete.html b/src/IDF/templates/downloads/js-autocomplete.html
deleted file mode 100644
index 6949c8f..0000000
--- a/src/IDF/templates/downloads/js-autocomplete.html
+++ /dev/null
@@ -1,27 +0,0 @@
-{if $isOwner or $isMember}
-
-
-
-{/if}
diff --git a/src/IDF/templates/downloads/submit.html b/src/IDF/templates/downloads/submit.html
deleted file mode 100644
index 875029d..0000000
--- a/src/IDF/templates/downloads/submit.html
+++ /dev/null
@@ -1,60 +0,0 @@
-{extends "downloads/base.html"}
-{block docclass}yui-t3{assign $inSubmit=true}{/block}
-{block body}
-{if $form.errors}
-
-
{trans 'The form contains some errors. Please correct them to submit the file.'}
-{if $form.get_top_errors}
-{$form.render_top_errors|unsafe}
-{/if}
-
-{/if}
-
-
-{/block}
-{block context}
-
-
{trans 'Instructions'}
-
-
{blocktrans}Each file must have a distinct name and file contents
-cannot be changed, so be sure to include release numbers in each file
-name.{/blocktrans}
-
-{/block}
-{block javascript}
-
-{include 'downloads/js-autocomplete.html'}{/block}
-
diff --git a/src/IDF/templates/downloads/view.html b/src/IDF/templates/downloads/view.html
deleted file mode 100644
index 8a90e95..0000000
--- a/src/IDF/templates/downloads/view.html
+++ /dev/null
@@ -1,69 +0,0 @@
-{extends "downloads/base.html"}
-{block docclass}yui-t3{assign $inDownloads=true}{/block}
-{block body}
-
-
-{if $deprecated}
{blocktrans}Attention! This file is marked as deprecated, download it only if you are sure you need this specific version.{/blocktrans}
{/if}
-
{$file} - {$file.filesize|size}
-
-
-
-{if $form}
-{if $form.errors}
-
-
{trans 'The form contains some errors. Please correct them to update the file.'}
-{if $form.get_top_errors}
-{$form.render_top_errors|unsafe}
-{/if}
-
-{/if}
-
-
-{/if}
-{/block}
-{block context}
-{assign $submitter = $file.get_submitter()}
-{trans 'Uploaded:'} {$file.creation_dtime|dateago} {blocktrans}by {$submitter}{/blocktrans}
-{if $file.modif_dtime != $file.creation_dtime}
-{trans 'Updated:'} {$file.modif_dtime|dateago}
{/if}
-
-{trans 'Downloads:'} {$file.downloads}
-{if $tags.count()}
-
-{trans 'Labels:'}
-{foreach $tags as $tag}{aurl 'url', 'IDF_Views_Download::listLabel', array($project.shortname, $tag.id)}
-{$tag.class}: {$tag.name}
-{/foreach}
-
{/if}
-{/block}
-{block javascript}{if $form}
-
-{include 'downloads/js-autocomplete.html'}{/if}{/block}
-
diff --git a/src/IDF/templates/faq.html b/src/IDF/templates/faq.html
deleted file mode 100644
index 0745304..0000000
--- a/src/IDF/templates/faq.html
+++ /dev/null
@@ -1,48 +0,0 @@
-{extends "base-simple.html"}
-{block docclass}yui-t3{/block}
-{block body}
-
-
-{trans 'What are the keyboard shortcuts?'}
-
-{trans 'If you are in a project, you have the following shortcuts:'}
-
-
-{trans 'Shift+h : Project home.'}
-{trans 'Shift+u : Project updates.'}
-{trans 'Shift+d : Downloads.'}
-{trans 'Shift+s : Source.'}
-{trans 'Shift+a : Create a new issue.'}
-{trans 'Shift+i : List of open issues.'}
-{trans 'Shift+m : The issues you submitted.'}
-{trans 'Shift+w : The issues assigned to you.'}
-
-
-{trans 'You also have the standard access keys:'}
-
-
-{trans 'Alt+1 : Home.'}
-{trans 'Alt+2 : Skip the menus.'}
-{trans 'Alt+4 : Search (when available).'}
-
-
-{trans 'How to mark an issue as duplicate?'}
-
-{blocktrans}This is simple:
-
-Write in the comments "This is a duplicate of issue 123", change 123 with the corresponding issue number.
-Change the status of the current issue to Duplicate .
-Submit the changes.
- {/blocktrans}
-
-{/block}
-{block context}
-{trans 'Here we are, just to help you.'}
-{trans 'Projects'}
-{foreach $projects as $p}
-{$p}
-{/foreach}
-{/block}
diff --git a/src/IDF/templates/idf/admin/base.html b/src/IDF/templates/idf/admin/base.html
new file mode 100644
index 0000000..2354605
--- /dev/null
+++ b/src/IDF/templates/idf/admin/base.html
@@ -0,0 +1,12 @@
+{extends "idf/base.html"}
+{block tabadmin} class="active"{/block}
+{block subtabs}
+
+{/block}
diff --git a/src/IDF/templates/idf/admin/downloads.html b/src/IDF/templates/idf/admin/downloads.html
new file mode 100644
index 0000000..c22be5e
--- /dev/null
+++ b/src/IDF/templates/idf/admin/downloads.html
@@ -0,0 +1,34 @@
+{extends "idf/admin/base.html"}
+{block docclass}yui-t1{assign $inDownloads = true}{/block}
+{block body}
+
+{/block}
+{block context}
+
+{blocktrans}
+
Instructions:
+
List one status value per line in desired sort-order.
+
Optionally, use an equals-sign to document the meaning of each status value.
+{/blocktrans}
+
+{/block}
diff --git a/src/IDF/templates/idf/admin/issue-tracking.html b/src/IDF/templates/idf/admin/issue-tracking.html
new file mode 100644
index 0000000..f835a68
--- /dev/null
+++ b/src/IDF/templates/idf/admin/issue-tracking.html
@@ -0,0 +1,49 @@
+{extends "idf/admin/base.html"}
+{block docclass}yui-t1{assign $inIssueTracking = true}{/block}
+{block body}
+
+
+
+{/block}
+
+{block context}
+
+{blocktrans}
+
Instructions:
+
List one status value per line in desired sort-order.
+
Optionally, use an equals-sign to document the meaning of each status value.
+{/blocktrans}
+
+{/block}
diff --git a/src/IDF/templates/idf/admin/members.html b/src/IDF/templates/idf/admin/members.html
new file mode 100644
index 0000000..a2835c9
--- /dev/null
+++ b/src/IDF/templates/idf/admin/members.html
@@ -0,0 +1,44 @@
+{extends "idf/admin/base.html"}
+{block docclass}yui-t3{assign $inMembers = true}{/block}
+{block body}
+
+
+
+{/block}
+
+{block context}
+
+{blocktrans}
+
Instructions:
+
Specify each person by its login. Each person must have already registered with the given login.
+
Separate the logins with commas and/or new lines.
+{/blocktrans}
+
+
+{blocktrans}
+
Notes:
+
A project owner may make any change to this project, including removing other project owners. You need to be carefull when you give owner rights.
+
A project member will not have access to the administration area but will have more options available in the use of the project.
+{/blocktrans}
+
+{/block}
diff --git a/src/IDF/templates/idf/admin/source.html b/src/IDF/templates/idf/admin/source.html
new file mode 100644
index 0000000..d7c67cb
--- /dev/null
+++ b/src/IDF/templates/idf/admin/source.html
@@ -0,0 +1,52 @@
+{extends "idf/admin/base.html"}
+{block docclass}yui-t1{assign $inSource = true}{/block}
+{block body}
+{if $form.errors}
+
+
{trans 'The form contains some errors. Please correct them to update the source configuration.'}
+{if $form.get_top_errors}
+{$form.render_top_errors|unsafe}
+{/if}
+
+{/if}
+
+{/block}
+{block context}
+
+
{trans 'Instructions:'}
+
{blocktrans}You can select the type of repository you want. In the case of subversion, you can use optionally a remote repository instead of the local one.{/blocktrans}
+
+{/block}
diff --git a/src/IDF/templates/idf/admin/summary.html b/src/IDF/templates/idf/admin/summary.html
new file mode 100644
index 0000000..35e7517
--- /dev/null
+++ b/src/IDF/templates/idf/admin/summary.html
@@ -0,0 +1,42 @@
+{extends "idf/admin/base.html"}
+{block docclass}yui-t1{assign $inSummary = true}{/block}
+{block body}
+{if $form.errors}
+
+
{trans 'The form contains some errors. Please correct them to update the summary.'}
+{if $form.get_top_errors}
+{$form.render_top_errors|unsafe}
+{/if}
+
+{/if}
+
+{/block}
+
+{block context}
+
+{assign $url = 'http://daringfireball.net/projects/markdown/syntax'}
+{blocktrans}
+
Instructions:
+
The description of the project can be improved using the Markdown syntax .
+{/blocktrans}
+
+{/block}
diff --git a/src/IDF/templates/idf/admin/tabs.html b/src/IDF/templates/idf/admin/tabs.html
new file mode 100644
index 0000000..c768035
--- /dev/null
+++ b/src/IDF/templates/idf/admin/tabs.html
@@ -0,0 +1,45 @@
+{extends "idf/admin/base.html"}
+{block docclass}yui-t1{assign $inTabs = true}{/block}
+{block body}
+{if $form.errors}
+
+
{trans 'The form contains some errors. Please correct them to update the access rights.'}
+{if $form.get_top_errors}
+{$form.render_top_errors|unsafe}
+{/if}
+
+{/if}
+
+{/block}
+{block context}
+
+
{trans 'Instructions:'}
+
{blocktrans}You can configure here the project tabs access rights.{/blocktrans}
+
+{/block}
diff --git a/src/IDF/templates/idf/base-simple.html b/src/IDF/templates/idf/base-simple.html
new file mode 100644
index 0000000..c87aba6
--- /dev/null
+++ b/src/IDF/templates/idf/base-simple.html
@@ -0,0 +1,59 @@
+
+{*
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of InDefero, an open source project management application.
+# Copyright (C) 2008 Céondo Ltd and contributors.
+#
+# InDefero is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# InDefero is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+# ***** END LICENSE BLOCK *****
+*}
+
+
+
+
+
+ {block extraheader}{/block}
+ {block pagetitle}{$page_title|strip_tags}{/block}
+
+
+
+
+
+
+
+
+ {if $user and $user.id}{getmsgs $user}{/if}
+
{block body}{/block}
+
+
+
+
{block context}{/block}
+
+
{block foot}
{/block}
+
+
+{block javascript}{/block}
+
+
diff --git a/src/IDF/templates/idf/base.html b/src/IDF/templates/idf/base.html
new file mode 100644
index 0000000..dcb33b6
--- /dev/null
+++ b/src/IDF/templates/idf/base.html
@@ -0,0 +1,86 @@
+
+{*
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of InDefero, an open source project management application.
+# Copyright (C) 2008 Céondo Ltd and contributors.
+#
+# InDefero is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# InDefero is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+# ***** END LICENSE BLOCK *****
+*}
+
+
+
+
+
+ {block extraheader}{/block}
+ {block pagetitle}{$page_title|strip_tags}{/block}
+
+
+
+
+
+
+
+
+ {if $user and $user.id}{getmsgs $user}{/if}
+
{block body}{/block}
+
+
+
+
{block context}{/block}
+
+
{block foot}{/block}
+
+
+{include 'idf/js-hotkeys.html'}
+{block javascript}{/block}
+{if $project}
+{/if}
+
+
diff --git a/src/IDF/templates/idf/downloads/base.html b/src/IDF/templates/idf/downloads/base.html
new file mode 100644
index 0000000..c7e046a
--- /dev/null
+++ b/src/IDF/templates/idf/downloads/base.html
@@ -0,0 +1,7 @@
+{extends "idf/base.html"}
+{block tabdownloads} class="active"{/block}
+{block subtabs}
+
+{/block}
diff --git a/src/IDF/templates/idf/downloads/delete.html b/src/IDF/templates/idf/downloads/delete.html
new file mode 100644
index 0000000..60e0b75
--- /dev/null
+++ b/src/IDF/templates/idf/downloads/delete.html
@@ -0,0 +1,40 @@
+{extends "idf/downloads/base.html"}
+{block docclass}yui-t3{assign $inDownloads=true}{/block}
+{block body}
+
+
+
+{blocktrans}Attention! If you want to delete a specific version of your software, maybe, someone is depending on this specific version to run his systems. Are you sure, you will not affect anybody when removing this file?{/blocktrans}
+
+{if !$deprecated}{aurl 'url', 'IDF_Views_Download::view', array($project.shortname, $file.id)}
+{blocktrans}Instead of deleting the file, you could mark it as deprecated .{/blocktrans}
{/if}
+
+
+
+{/block}
+
+{block context}
+{assign $submitter = $file.get_submitter()}
+{trans 'Uploaded:'} {$file.creation_dtime|dateago} {blocktrans}by {$submitter}{/blocktrans}
+{if $file.modif_dtime != $file.creation_dtime}
+{trans 'Updated:'} {$file.modif_dtime|dateago}
{/if}
+
+{trans 'Downloads:'} {$file.downloads}
+{if $tags.count()}
+
+{trans 'Labels:'}
+{foreach $tags as $tag}{aurl 'url', 'IDF_Views_Download::listLabel', array($project.shortname, $tag.id)}
+{$tag.class}: {$tag.name}
+{/foreach}
+
{/if}
+{/block}
diff --git a/src/IDF/templates/idf/downloads/index.html b/src/IDF/templates/idf/downloads/index.html
new file mode 100644
index 0000000..d5805aa
--- /dev/null
+++ b/src/IDF/templates/idf/downloads/index.html
@@ -0,0 +1,25 @@
+{extends "idf/downloads/base.html"}
+{block docclass}yui-t1{assign $inDownloads=true}{/block}
+{block body}
+{$downloads.render}
+{if $isOwner or $isMember}
+{aurl 'url', 'IDF_Views_Download::submit', array($project.shortname)}
+ {trans 'New Download'}
{/if}
+
+{/block}
+{block context}
+{trans 'Number of files:'} {$downloads.nb_items}
+{assign $class = ''}{assign $i = 0}
+{if !$label or $label.id != $dlabel.id}
+{foreach $tags as $lab}
+{aurl 'url', 'IDF_Views_Download::listLabel', array($project.shortname, $lab.id)}
+{if $class != $lab.class}{if $i != 0} {/if}{$lab.class}: {/if}
+{$lab.name} ,{assign $i = $i + 1}{assign $class = $lab.class}{/foreach}
+{/if}
+{if $deprecated > 0}
+{aurl 'url', 'IDF_Views_Download::listLabel', array($project.shortname, $dlabel.id)}
+{blocktrans}See the deprecated files .{/blocktrans}
+{/if}
+
+{/block}
+
diff --git a/src/IDF/templates/idf/downloads/js-autocomplete.html b/src/IDF/templates/idf/downloads/js-autocomplete.html
new file mode 100644
index 0000000..6949c8f
--- /dev/null
+++ b/src/IDF/templates/idf/downloads/js-autocomplete.html
@@ -0,0 +1,27 @@
+{if $isOwner or $isMember}
+
+
+
+{/if}
diff --git a/src/IDF/templates/idf/downloads/submit.html b/src/IDF/templates/idf/downloads/submit.html
new file mode 100644
index 0000000..3773331
--- /dev/null
+++ b/src/IDF/templates/idf/downloads/submit.html
@@ -0,0 +1,60 @@
+{extends "idf/downloads/base.html"}
+{block docclass}yui-t3{assign $inSubmit=true}{/block}
+{block body}
+{if $form.errors}
+
+
{trans 'The form contains some errors. Please correct them to submit the file.'}
+{if $form.get_top_errors}
+{$form.render_top_errors|unsafe}
+{/if}
+
+{/if}
+
+
+{/block}
+{block context}
+
+
{trans 'Instructions'}
+
+
{blocktrans}Each file must have a distinct name and file contents
+cannot be changed, so be sure to include release numbers in each file
+name.{/blocktrans}
+
+{/block}
+{block javascript}
+
+{include 'idf/downloads/js-autocomplete.html'}{/block}
+
diff --git a/src/IDF/templates/idf/downloads/view.html b/src/IDF/templates/idf/downloads/view.html
new file mode 100644
index 0000000..6b50576
--- /dev/null
+++ b/src/IDF/templates/idf/downloads/view.html
@@ -0,0 +1,69 @@
+{extends "idf/downloads/base.html"}
+{block docclass}yui-t3{assign $inDownloads=true}{/block}
+{block body}
+
+
+{if $deprecated}
{blocktrans}Attention! This file is marked as deprecated, download it only if you are sure you need this specific version.{/blocktrans}
{/if}
+
{$file} - {$file.filesize|size}
+
+
+
+{if $form}
+{if $form.errors}
+
+
{trans 'The form contains some errors. Please correct them to update the file.'}
+{if $form.get_top_errors}
+{$form.render_top_errors|unsafe}
+{/if}
+
+{/if}
+
+
+{/if}
+{/block}
+{block context}
+{assign $submitter = $file.get_submitter()}
+{trans 'Uploaded:'} {$file.creation_dtime|dateago} {blocktrans}by {$submitter}{/blocktrans}
+{if $file.modif_dtime != $file.creation_dtime}
+{trans 'Updated:'} {$file.modif_dtime|dateago}
{/if}
+
+{trans 'Downloads:'} {$file.downloads}
+{if $tags.count()}
+
+{trans 'Labels:'}
+{foreach $tags as $tag}{aurl 'url', 'IDF_Views_Download::listLabel', array($project.shortname, $tag.id)}
+{$tag.class}: {$tag.name}
+{/foreach}
+
{/if}
+{/block}
+{block javascript}{if $form}
+
+{include 'idf/downloads/js-autocomplete.html'}{/if}{/block}
+
diff --git a/src/IDF/templates/idf/faq.html b/src/IDF/templates/idf/faq.html
new file mode 100644
index 0000000..87ec204
--- /dev/null
+++ b/src/IDF/templates/idf/faq.html
@@ -0,0 +1,48 @@
+{extends "idf/base-simple.html"}
+{block docclass}yui-t3{/block}
+{block body}
+
+
+{trans 'What are the keyboard shortcuts?'}
+
+{trans 'If you are in a project, you have the following shortcuts:'}
+
+
+{trans 'Shift+h : Project home.'}
+{trans 'Shift+u : Project updates.'}
+{trans 'Shift+d : Downloads.'}
+{trans 'Shift+s : Source.'}
+{trans 'Shift+a : Create a new issue.'}
+{trans 'Shift+i : List of open issues.'}
+{trans 'Shift+m : The issues you submitted.'}
+{trans 'Shift+w : The issues assigned to you.'}
+
+
+{trans 'You also have the standard access keys:'}
+
+
+{trans 'Alt+1 : Home.'}
+{trans 'Alt+2 : Skip the menus.'}
+{trans 'Alt+4 : Search (when available).'}
+
+
+{trans 'How to mark an issue as duplicate?'}
+
+{blocktrans}This is simple:
+
+Write in the comments "This is a duplicate of issue 123", change 123 with the corresponding issue number.
+Change the status of the current issue to Duplicate .
+Submit the changes.
+ {/blocktrans}
+
+{/block}
+{block context}
+{trans 'Here we are, just to help you.'}
+{trans 'Projects'}
+{foreach $projects as $p}
+{$p}
+{/foreach}
+{/block}
diff --git a/src/IDF/templates/idf/index.html b/src/IDF/templates/idf/index.html
new file mode 100644
index 0000000..cd59ae5
--- /dev/null
+++ b/src/IDF/templates/idf/index.html
@@ -0,0 +1,15 @@
+{extends "idf/base-simple.html"}
+{block docclass}yui-t1{/block}
+{block body}
+{if $projects.count() == 0}
+{trans 'No projects managed with InDefero were found.'}
+{if $user.administrator}{blocktrans}Create a new project.{/blocktrans}
{/if}
+{else}
+{foreach $projects as $p}
+{$p}
+{/foreach}
+{/if}
+{/block}
+{block context}
+{trans 'Managed Projects:'} {$projects.count()}
+{/block}
diff --git a/src/IDF/templates/idf/issues/base.html b/src/IDF/templates/idf/issues/base.html
new file mode 100644
index 0000000..18af104
--- /dev/null
+++ b/src/IDF/templates/idf/issues/base.html
@@ -0,0 +1,13 @@
+{extends "idf/base.html"}
+{block tabissues} class="active"{/block}
+{block subtabs}
+
+{/block}
diff --git a/src/IDF/templates/idf/issues/by-label.html b/src/IDF/templates/idf/issues/by-label.html
new file mode 100644
index 0000000..ec2643b
--- /dev/null
+++ b/src/IDF/templates/idf/issues/by-label.html
@@ -0,0 +1,23 @@
+{extends "idf/issues/base.html"}
+{block docclass}yui-t1{/block}
+{block body}
+{$issues.render}
+{if !$user.isAnonymous()}
+{aurl 'url', 'IDF_Views_Issue::create', array($project.shortname)}
+ {trans 'New Issue'}
{/if}
+
+{/block}
+{block context}
+{aurl 'open_url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}
+{aurl 'closed_url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'closed')}
+{blocktrans}Open issues: {$open}
+Closed issues: {$closed}
+{/blocktrans}{if $completion}
+{trans 'Completion:'} {$completion}
+{/if}
+{trans 'Label:'}
+{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}
+{$label.class}: {$label.name}
+
+
+{/block}
diff --git a/src/IDF/templates/idf/issues/create.html b/src/IDF/templates/idf/issues/create.html
new file mode 100644
index 0000000..e8f4a5b
--- /dev/null
+++ b/src/IDF/templates/idf/issues/create.html
@@ -0,0 +1,80 @@
+{extends "idf/issues/base.html"}
+{block docclass}yui-t3{assign $inCreate = true}{/block}
+{block body}
+{if $form.errors}
+
+
{trans 'The form contains some errors. Please correct them to submit the issue.'}
+{if $form.get_top_errors}
+{$form.render_top_errors|unsafe}
+{/if}
+
+{/if}
+
+
+{/block}
+{block context}
+
+{blocktrans}
When you submit the issue do not forget to provide the following information:
+
+The steps to reproduce the problem.
+The version of the software and your operating system.
+Any information that can help the developers to solve the issue.
+Do not provide any password or confidential information!
+ {/blocktrans}
+
+{/block}
+{block javascript}
+
+{include 'idf/issues/js-autocomplete.html'}{/block}
+
diff --git a/src/IDF/templates/idf/issues/index.html b/src/IDF/templates/idf/issues/index.html
new file mode 100644
index 0000000..d2dfed4
--- /dev/null
+++ b/src/IDF/templates/idf/issues/index.html
@@ -0,0 +1,20 @@
+{extends "idf/issues/base.html"}
+{block docclass}yui-t2{/block}
+{block body}
+{$issues.render}
+{if !$user.isAnonymous()}
+{aurl 'url', 'IDF_Views_Issue::create', array($project.shortname)}
+ {trans 'New Issue'}
{/if}
+
+{/block}
+{block context}
+{aurl 'open_url', 'IDF_Views_Issue::index', array($project.shortname)}
+{aurl 'closed_url', 'IDF_Views_Issue::listStatus', array($project.shortname, 'closed')}
+{blocktrans}Open issues: {$open}
+Closed issues: {$closed}
{/blocktrans}
+{assign $class = ''}{assign $i = 0}
+{foreach $project.getTagCloud($cloud) as $label}
+{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}
+{if $class != $label.class}{if $i != 0} {/if}{$label.class}: {/if}
+{$label.name} ,{assign $class = $label.class}{assign $i = $i + 1}{/foreach}
+{/block}
diff --git a/src/IDF/templates/idf/issues/issue-created-email.txt b/src/IDF/templates/idf/issues/issue-created-email.txt
new file mode 100644
index 0000000..da8f3c2
--- /dev/null
+++ b/src/IDF/templates/idf/issues/issue-created-email.txt
@@ -0,0 +1,18 @@
+{trans 'Hello,'}
+
+{blocktrans}A new issue has been created and assigned
+to you:{/blocktrans}
+
+{$issue.id} - {$issue.summary|safe}
+{trans 'Project:'} {$project.name|safe}
+{trans 'Status:'} {$issue.get_status.name|safe}
+{trans 'Reported by:'} {$issue.get_submitter|safe}
+{assign $tags = $issue.get_tags_list()}{if $tags.count()}{trans 'Labels:'}
+{foreach $tags as $tag} {$tag.class|safe}:{$tag.name|safe}
+{/foreach}{/if}
+{trans 'Description:'}
+
+{$comment.content|safe}
+
+--
+{trans 'Issue:'} {$url_base}{url 'IDF_Views_Issue::view', array($project.shortname, $issue.id)}
diff --git a/src/IDF/templates/idf/issues/issue-updated-email.txt b/src/IDF/templates/idf/issues/issue-updated-email.txt
new file mode 100644
index 0000000..d996aae
--- /dev/null
+++ b/src/IDF/templates/idf/issues/issue-updated-email.txt
@@ -0,0 +1,24 @@
+{trans 'Hello,'}
+
+{blocktrans}The following issue has been updated:{/blocktrans}
+
+{$issue.id} - {$issue.summary|safe}
+{trans 'Project:'} {$project.name|safe}
+{trans 'Status:'} {$issue.get_status.name}
+{trans 'Reported by:'} {$issue.get_submitter|safe}
+{trans 'URL:'} {$url_base}{url 'IDF_Views_Issue::view', array($project.shortname, $issue.id)}
+{assign $tags = $issue.get_tags_list()}{if $tags.count()}{trans 'Labels:'}
+{foreach $tags as $tag} {$tag.class|safe}:{$tag.name|safe}
+{/foreach}
+{/if}{trans 'Comments (last first):'}
+
+{foreach $comments as $c}{assign $who = $c.get_submitter()}# {blocktrans}By {$who|safe}, {$c.creation_dtime|date}:{/blocktrans}
+
+{if strlen($c.content) > 0}{$c.content|safe}{else}{trans '(No comments were given for this change.)'}{/if}{if $c.changedIssue()}
+{foreach $c.changes as $w => $v}
+ {if $w == 'su'}{trans 'Summary:'}{/if}{if $w == 'st'}{trans 'Status:'}{/if}{if $w == 'ow'}{trans 'Owner:'}{/if}{if $w == 'lb'}{trans 'Labels:'}{/if} {if $w == 'lb'}{assign $l = implode(', ', $v)}{$l}{else}{$v}{/if}{/foreach}{/if}
+
+{/foreach}
+
+--
+{trans 'Issue:'} {$url_base}{url 'IDF_Views_Issue::view', array($project.shortname, $issue.id)}
diff --git a/src/IDF/templates/idf/issues/js-autocomplete.html b/src/IDF/templates/idf/issues/js-autocomplete.html
new file mode 100644
index 0000000..589d178
--- /dev/null
+++ b/src/IDF/templates/idf/issues/js-autocomplete.html
@@ -0,0 +1,56 @@
+{if $isOwner or $isMember}
+
+
+
+{/if}
diff --git a/src/IDF/templates/idf/issues/my-issues.html b/src/IDF/templates/idf/issues/my-issues.html
new file mode 100644
index 0000000..a235223
--- /dev/null
+++ b/src/IDF/templates/idf/issues/my-issues.html
@@ -0,0 +1,16 @@
+{extends "idf/issues/base.html"}
+{block docclass}yui-t2{assign $inMyIssues = true}{/block}
+{block body}
+{$issues.render}
+{if !$user.isAnonymous()}
+{aurl 'url', 'IDF_Views_Issue::create', array($project.shortname)}
+ {trans 'New Issue'}
{/if}
+
+{/block}
+{block context}
+{aurl 'owner_url', 'IDF_Views_Issue::myIssues', array($project.shortname, 'owner')}
+{aurl 'submit_url', 'IDF_Views_Issue::myIssues', array($project.shortname, 'submit')}
+{trans 'Submitted issues:'} {$nb_submit}
+{if $nb_owner > 0}
+{trans 'Working issues:'} {$nb_owner}
{/if}
+{/block}
diff --git a/src/IDF/templates/idf/issues/search.html b/src/IDF/templates/idf/issues/search.html
new file mode 100644
index 0000000..71388ed
--- /dev/null
+++ b/src/IDF/templates/idf/issues/search.html
@@ -0,0 +1,12 @@
+{extends "idf/issues/base.html"}
+{block docclass}yui-t2{/block}
+{block body}
+{$issues.render}
+{if !$user.isAnonymous()}
+{aurl 'url', 'IDF_Views_Issue::create', array($project.shortname)}
+ {trans 'New Issue'}
{/if}
+
+{/block}
+{block context}
+{trans 'Found issues:'} {$issues.nb_items}
+{/block}
diff --git a/src/IDF/templates/idf/issues/view.html b/src/IDF/templates/idf/issues/view.html
new file mode 100644
index 0000000..cb9e085
--- /dev/null
+++ b/src/IDF/templates/idf/issues/view.html
@@ -0,0 +1,125 @@
+{extends "idf/issues/base.html"}
+{block titleicon}{if $form} {/if}{/block}
+{block body}
+{assign $i = 0}
+{assign $nc = $comments.count()}
+{foreach $comments as $c}
+{assign $i = $i + 1}{if $i == $nc and false == $form}
+
+{/if}
+{/foreach}
+
+{if $form}
+
+
+{if $form.errors}
+
+
{trans 'The form contains some errors. Please correct them to change the issue.'}
+{if $form.get_top_errors}
+{$form.render_top_errors|unsafe}
+{/if}
+
+{/if}
+
+{if $closed and (!$isOwner and !$isMember)}
+ {blocktrans}This issue is marked as closed, add a comment only if you think this issue is still valid and more work is needed to fully fix it.{/blocktrans}
+
+{/if}
+
+{/if}
+{/block}
+{block context}
+
+{assign $submitter = $issue.get_submitter()}{aurl 'url', 'IDF_Views_User::view', array($submitter.login)}
+
{trans 'Created:'} {$issue.creation_dtime|dateago} {blocktrans}by {$submitter} {/blocktrans}
+{if $issue.modif_dtime != $issue.creation_dtime}
+{trans 'Updated:'} {$issue.modif_dtime|dateago}
{/if}
+
+{trans 'Status:'} {$issue.get_status.name}
+{if $issue.get_owner != null}
{aurl 'url', 'IDF_Views_User::view', array($issue.get_owner().login)}
+{trans 'Owner:'} {$issue.get_owner}
+
{/if}{assign $tags = $issue.get_tags_list()}{if $tags.count()}
+
+{trans 'Labels:'}
+{foreach $tags as $tag}{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $tag.id, 'open')}
+{$tag.class}: {$tag.name}
+{/foreach}
+
{/if}
+
+{/block}
+{block javascript}{if $form}{include 'idf/issues/js-autocomplete.html'}{/if}{/block}
diff --git a/src/IDF/templates/idf/js-hotkeys.html b/src/IDF/templates/idf/js-hotkeys.html
new file mode 100644
index 0000000..a41dea6
--- /dev/null
+++ b/src/IDF/templates/idf/js-hotkeys.html
@@ -0,0 +1,16 @@
+
+{if $project}
+
+{/if}
diff --git a/src/IDF/templates/idf/login_form.html b/src/IDF/templates/idf/login_form.html
new file mode 100644
index 0000000..1ef1281
--- /dev/null
+++ b/src/IDF/templates/idf/login_form.html
@@ -0,0 +1,23 @@
+{extends "idf/base-simple.html"}
+{block docclass}yui-t1{/block}
+{block body}
+
+
+{/block}
diff --git a/src/IDF/templates/idf/project/home.html b/src/IDF/templates/idf/project/home.html
new file mode 100644
index 0000000..c7601ab
--- /dev/null
+++ b/src/IDF/templates/idf/project/home.html
@@ -0,0 +1,36 @@
+{extends "idf/base.html"}
+{block docclass}yui-t2{/block}
+{block tabhome} class="active"{/block}
+{block subtabs}
+
+{/block}
+{block body}
+{$project.description|markdown}
+{/block}
+{block context}
+{if count($downloads) > 0}
+{trans 'Featured Downloads'}
+{foreach $downloads as $download}
+{$download}
+{/foreach}
+ {trans 'show more...'}
+{/if}
+{assign $ko = 'owners'}
+{assign $km = 'members'}
+
{trans 'Development Team'}
+{trans 'Admins'}
+{foreach $team[$ko] as $owner}{aurl 'url', 'IDF_Views_User::view', array($owner.login)}
+{$owner}
+{/foreach}
+{if count($team[$km]) > 0}
+{trans 'Happy Crew'}
+{foreach $team[$km] as $member}{aurl 'url', 'IDF_Views_User::view', array($member.login)}
+{$member}
+{/foreach}
+{/if}
+
+{/block}
+
+
diff --git a/src/IDF/templates/idf/project/timeline.html b/src/IDF/templates/idf/project/timeline.html
new file mode 100644
index 0000000..395acbe
--- /dev/null
+++ b/src/IDF/templates/idf/project/timeline.html
@@ -0,0 +1,38 @@
+{extends "idf/base.html"}
+{block docclass}yui-t2{/block}
+{block tabhome} class="active"{/block}
+{block subtabs}
+
+{/block}
+
+{block body}
+{$timeline.render}
+{/block}
+
+{block context}
+{if count($downloads) > 0}
+{trans 'Featured Downloads'}
+{foreach $downloads as $download}
+{$download}
+{/foreach}
+ {trans 'show more...'}
+{/if}
+{assign $ko = 'owners'}
+{assign $km = 'members'}
+
{trans 'Development Team'}
+{trans 'Admins'}
+{foreach $team[$ko] as $owner}{aurl 'url', 'IDF_Views_User::view', array($owner.login)}
+{$owner}
+{/foreach}
+{if count($team[$km]) > 0}
+{trans 'Happy Crew'}
+{foreach $team[$km] as $member}{aurl 'url', 'IDF_Views_User::view', array($member.login)}
+{$member}
+{/foreach}
+{/if}
+
+{/block}
+
+
diff --git a/src/IDF/templates/idf/register/confirmation-email.txt b/src/IDF/templates/idf/register/confirmation-email.txt
new file mode 100644
index 0000000..eb2422a
--- /dev/null
+++ b/src/IDF/templates/idf/register/confirmation-email.txt
@@ -0,0 +1,27 @@
+{blocktrans}Hello,
+
+You have requested the creation of an account to
+participate in the life of a software project.
+
+To confirm the account please follow this link:
+
+{$url|safe}
+
+Alternatively, go to this page:
+
+{$urlik|safe}
+
+and provide the following confirmation key:
+
+{$key}
+
+If you are not interested any longer in taking
+part in the life of the software project or if
+you can't remember having requested the creation
+of an accout, please excuse us and simply ignore
+this email.
+
+Yours faithfully,
+The development team.
+{/blocktrans}
+
diff --git a/src/IDF/templates/idf/register/confirmation.html b/src/IDF/templates/idf/register/confirmation.html
new file mode 100644
index 0000000..fa2cc36
--- /dev/null
+++ b/src/IDF/templates/idf/register/confirmation.html
@@ -0,0 +1,65 @@
+{extends "idf/base-simple.html"}
+{block body}
+{if $form.errors}
+
+
{trans 'Oups, please check the form for errors.'}
+{if $form.get_top_errors}
+{$form.render_top_errors|unsafe}
+{/if}
+{if $form.f.key.errors}{$form.f.key.fieldErrors}{/if}
+
+{/if}
+
+
+{/block}
+{block context}
+
+
{trans 'This is the last step, but just be sure to have the cookies enabled to log in afterwards.'}
+
+{/block}
+{block javascript}
+{/block}
+
diff --git a/src/IDF/templates/idf/register/index.html b/src/IDF/templates/idf/register/index.html
new file mode 100644
index 0000000..3972bbb
--- /dev/null
+++ b/src/IDF/templates/idf/register/index.html
@@ -0,0 +1,57 @@
+{extends "idf/base-simple.html"}
+{block body}
+{if $form.errors}
+
+
{trans 'Oups, please check the provided login and email address to register.'}
+{if $form.get_top_errors}
+{$form.render_top_errors|unsafe}
+{/if}
+
+{/if}
+
+
+{/block}
+{block context}
+
+
{trans 'Be sure to provide a valid email address, as we are sending a validation link by email.'}
+
+
{trans 'Did you know?'}
+{aurl 'url', 'IDF_Views::faq'}
+{blocktrans}With your account, you will able to participate in the life of all the projects hosted here. Participating in a software project must be fun, so if you have troubles, you can let us know about your issues at anytime !{/blocktrans}
+
+{/block}
+{block javascript}
+{/block}
+
diff --git a/src/IDF/templates/idf/register/inputkey.html b/src/IDF/templates/idf/register/inputkey.html
new file mode 100644
index 0000000..ed65976
--- /dev/null
+++ b/src/IDF/templates/idf/register/inputkey.html
@@ -0,0 +1,40 @@
+{extends "idf/base-simple.html"}
+{block body}
+{if $form.errors}
+
+
{trans 'Oups, we found an error in the form.'}
+{if $form.get_top_errors}
+{$form.render_top_errors|unsafe}
+{/if}
+
+{/if}
+
+
+{/block}
+{block context}
+
+
{trans 'Instructions'}
+
{trans 'Use your email software to read your emails and open your confirmation email. Either click directly on the confirmation link or copy/paste the confirmation key in the box and submit the form.'}
+
{trans 'Just after providing the confirmation key, you will be able to set your password and start using this website fully.'}
+
+{/block}
+{block javascript}
+{/block}
+
diff --git a/src/IDF/templates/idf/source/base.html b/src/IDF/templates/idf/source/base.html
new file mode 100644
index 0000000..6aec0c6
--- /dev/null
+++ b/src/IDF/templates/idf/source/base.html
@@ -0,0 +1,10 @@
+{extends "idf/base.html"}
+{block tabsource} class="active"{/block}
+{block subtabs}
+
+{/block}
+{block title}{$title}{/block}
diff --git a/src/IDF/templates/idf/source/changelog.html b/src/IDF/templates/idf/source/changelog.html
new file mode 100644
index 0000000..3b0afa5
--- /dev/null
+++ b/src/IDF/templates/idf/source/changelog.html
@@ -0,0 +1,50 @@
+{extends "idf/source/base.html"}
+{block docclass}yui-t1{assign $inChangeLog=true}{/block}
+{block body}
+
+
+
+{trans 'Age'}
+{trans 'Message'}
+
+
+
+{foreach $changes as $change}
+{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $change.commit)}
+
+{$change.date|dateago:"wihtout"}
+{issuetext $change.title, $request}{if $change.full_message} {issuetext $change.full_message, $request}{/if}
+
+
+{/foreach}
+
+
+{/block}
+{block context}
+{if $scm == 'git'}
+{trans 'Branches:'}
+{foreach $branches as $branch}
+{aurl 'url', 'IDF_Views_Source::changeLog', array($project.shortname, $branch)}
+{$branch}
+{/foreach}
+
+{/if}
+{if $scm == 'svn'}
+
+
+{/if}
+{/block}
+
diff --git a/src/IDF/templates/idf/source/commit.html b/src/IDF/templates/idf/source/commit.html
new file mode 100644
index 0000000..94b4554
--- /dev/null
+++ b/src/IDF/templates/idf/source/commit.html
@@ -0,0 +1,52 @@
+{extends "idf/source/base.html"}
+{block extraheader} {/block}
+{block docclass}yui-t1{assign $inCommit=true}{/block}
+{block body}
+
+
+{trans 'Date:'} {$cobject.date|date:"%Y-%m-%d %H:%M:%S"} ({$cobject.date|dateago})
+
+
+{trans 'Author:'} {$cobject.author|strip_tags}
+
+
+{trans 'Commit:'} {$cobject.commit}
+
+
+{trans 'Message:'} {issuetext $cobject.title, $request}{if isset($cobject.full_message)} {issuetext $cobject.full_message, $request}{/if}
+
+{if count($diff.files)}
+
+{trans 'Files:'}
+
+{foreach $diff.files as $filename=>$diffdef}
+{assign $ndiff = count($diffdef['chunks'])}
+{$filename} ({blocktrans $ndiff}{$ndiff} diff{plural}{$ndiff} diffs{/blocktrans} )
+{/foreach}
+
+
+{/if}
+
+{if count($diff.files)}
+{trans 'Change Details'}
+
+{$diff.as_html()}
+{/if}
+{/block}
+{block context}
+{if $scm == 'git'}
+{trans 'Branches:'}
+{foreach $branches as $branch}
+{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $branch)}
+{$branch}
+{/foreach}
+
+{/if}
+{/block}
+
+{block javascript}
+
+
+{/block}
diff --git a/src/IDF/templates/idf/source/git/file.html b/src/IDF/templates/idf/source/git/file.html
new file mode 100644
index 0000000..c6ae174
--- /dev/null
+++ b/src/IDF/templates/idf/source/git/file.html
@@ -0,0 +1,36 @@
+{extends "idf/source/base.html"}
+{block extraheader} {/block}
+{block docclass}yui-t1{assign $inSourceTree=true}{/block}
+{block body}
+{trans 'Root'} / {if $breadcrumb}{$breadcrumb|safe}{/if}
+
+
+{if !$tree_in}
+{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
+
+{blocktrans}Source at commit {$commit} created {$cobject.date|dateago}.{/blocktrans}
+{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}
+
+
+{/if}
+
+{$file}
+
+
+{aurl 'url', 'IDF_Views_Source::getFile', array($project.shortname, $commit, $fullpath)}
+ {trans 'Download this file'}
+
+{/block}
+{block context}
+{trans 'Branches:'}
+{foreach $branches as $branch}
+{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
+{$branch}
+{/foreach}
+
+{/block}
+
+{block javascript}
+
+
+{/block}
diff --git a/src/IDF/templates/idf/source/git/tree.html b/src/IDF/templates/idf/source/git/tree.html
new file mode 100644
index 0000000..e6b71fa
--- /dev/null
+++ b/src/IDF/templates/idf/source/git/tree.html
@@ -0,0 +1,57 @@
+{extends "idf/source/base.html"}
+{block docclass}yui-t1{assign $inSourceTree=true}{/block}
+{block body}
+{trans 'Root'} / {if $breadcrumb}{$breadcrumb|safe}{/if}
+
+
+
+
+{trans 'File'}
+{trans 'Age'}
+{trans 'Message'}
+{trans 'Size'}
+
+ {if !$tree_in}
+{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
+
+{blocktrans}Source at commit {$commit} created {$cobject.date|dateago}.{/blocktrans}
+{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}
+
+
+{/if}
+{if $base}
+
+
+
+..
+
+
+{/if}
+{foreach $files as $file}
+{aurl 'url', 'IDF_Views_Source::tree', array($project.shortname, $commit, $file.fullpath)}
+
+
+{$file.file}
+{if $file.type == 'blob'}
+{if isset($file.date)}
+{$file.date|dateago:"wihtout"}
+{$file.author|strip_tags|trim}{trans ':'} {issuetext $file.log, $request, true, false}
+{else} {/if}
+{$file.size|size} {/if}
+
+{/foreach}
+
+
+{aurl 'url', 'IDF_Views_Source::download', array($project.shortname, $commit)}
+ {trans 'Download this version'} {trans 'or'} git clone {$project.getRemoteAccessUrl()}
+
+
+{/block}
+{block context}
+{trans 'Branches:'}
+{foreach $branches as $branch}
+{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
+{$branch}
+{/foreach}
+
+{/block}
diff --git a/src/IDF/templates/idf/source/svn/file.html b/src/IDF/templates/idf/source/svn/file.html
new file mode 100644
index 0000000..944fe60
--- /dev/null
+++ b/src/IDF/templates/idf/source/svn/file.html
@@ -0,0 +1,49 @@
+{extends "idf/source/base.html"}
+{block extraheader} {/block}
+{block docclass}yui-t1{assign $inSourceTree=true}{/block}
+{block body}
+{trans 'Root'} / {if $breadcrumb}{$breadcrumb|safe}{/if}
+
+
+{if !$tree_in || $props}
+ {aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
+
+ {if $props}
+
+
+ {foreach $props as $prop => $val}
+ {trans 'Property'} {$prop} {trans 'set to:'} {$val}
+ {/foreach}
+
+
+ {/if}
+ {if !$tree_in}
+ {blocktrans}Source at commit {$commit} created {$cobject.date|dateago}.{/blocktrans}
+ {blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}
+
+ {/if}
+
+ {/if}
+
+{$file}
+
+
+{aurl 'url', 'IDF_Views_Source::getFile', array($project.shortname, $commit, $fullpath)}
+ {trans 'Download this file'}
+
+{/block}
+{block context}
+
+
+{/block}
+
+{block javascript}
+
+
+{/block}
diff --git a/src/IDF/templates/idf/source/svn/tree.html b/src/IDF/templates/idf/source/svn/tree.html
new file mode 100644
index 0000000..fa5cc24
--- /dev/null
+++ b/src/IDF/templates/idf/source/svn/tree.html
@@ -0,0 +1,72 @@
+{extends "idf/source/base.html"}
+{block docclass}yui-t1{assign $inSourceTree=true}{/block}
+{block body}
+{trans 'Root'} / {if $breadcrumb}{$breadcrumb|safe}{/if}
+
+
+
+
+ {trans 'File'}
+ {trans 'Age'}
+ {trans 'Rev'}
+ {trans 'Message'}
+ {trans 'Size'}
+
+ {if !$tree_in || $props}
+ {aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
+
+ {if $props}
+
+
+ {foreach $props as $prop => $val}
+ {trans 'Property'} {$prop} {trans 'set to:'} {$val}
+ {/foreach}
+
+
+ {/if}
+ {if !$tree_in}
+ {blocktrans}Source at commit {$commit} created {$cobject.date|dateago}.{/blocktrans}
+ {blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}
+
+ {/if}
+
+ {/if}
+ {if $base}
+
+
+
+ ..
+
+
+ {/if}
+ {foreach $files as $file}
+ {aurl 'url', 'IDF_Views_Source::tree', array($project.shortname, $commit, $file.fullpath)}
+
+
+
+ {$file.file}
+ {$file.date|dateago:"wihtout"}
+ {$file.rev}
+ {$file.author|strip_tags|trim}{trans ':'} {issuetext $file.log, $request, true, false}
+ {if $file.type == 'blob'}
+ {$file.size|size}
+ {/if}
+
+
+ {/foreach}
+
+
+svn co -r {$commit} {$project.getRemoteAccessUrl()}
+
+
+{/block}
+{block context}
+
+
+{/block}
diff --git a/src/IDF/templates/idf/user/myaccount.html b/src/IDF/templates/idf/user/myaccount.html
new file mode 100644
index 0000000..4d4d161
--- /dev/null
+++ b/src/IDF/templates/idf/user/myaccount.html
@@ -0,0 +1,59 @@
+{extends "idf/base-simple.html"}
+{block body}
+{if $form.errors}
+
+
{trans 'Oups, please check the form for errors.'}
+{if $form.get_top_errors}
+{$form.render_top_errors|unsafe}
+{/if}
+
+{/if}
+
+
+{/block}
+{block context}
+
+
{trans 'If possible, use your real name. By using your real name, people will have more trust in your comments and remarks.'}
+
{/block}
+{block javascript}
+{/block}
+
diff --git a/src/IDF/templates/idf/user/public.html b/src/IDF/templates/idf/user/public.html
new file mode 100644
index 0000000..ae3e68a
--- /dev/null
+++ b/src/IDF/templates/idf/user/public.html
@@ -0,0 +1,28 @@
+{extends "idf/base-simple.html"}
+{block body}
+
+{/block}
+{block context}
+
+
{blocktrans}You are looking at the public profile of {$member}.{/blocktrans}
+
+{trans 'Projects'}
+{foreach $projects as $p}
+{$p}
+{/foreach}
+{/block}
+
+
diff --git a/src/IDF/templates/index.html b/src/IDF/templates/index.html
deleted file mode 100644
index 8af141d..0000000
--- a/src/IDF/templates/index.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{extends "base-simple.html"}
-{block docclass}yui-t1{/block}
-{block body}
-{if $projects.count() == 0}
-{trans 'No projects managed with InDefero were found.'}
-{if $user.administrator}{blocktrans}Create a new project.{/blocktrans}
{/if}
-{else}
-{foreach $projects as $p}
-{$p}
-{/foreach}
-{/if}
-{/block}
-{block context}
-{trans 'Managed Projects:'} {$projects.count()}
-{/block}
diff --git a/src/IDF/templates/issues/base.html b/src/IDF/templates/issues/base.html
deleted file mode 100644
index a124c5c..0000000
--- a/src/IDF/templates/issues/base.html
+++ /dev/null
@@ -1,13 +0,0 @@
-{extends "base.html"}
-{block tabissues} class="active"{/block}
-{block subtabs}
-
-{/block}
diff --git a/src/IDF/templates/issues/by-label.html b/src/IDF/templates/issues/by-label.html
deleted file mode 100644
index b385606..0000000
--- a/src/IDF/templates/issues/by-label.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{extends "issues/base.html"}
-{block docclass}yui-t1{/block}
-{block body}
-{$issues.render}
-{if !$user.isAnonymous()}
-{aurl 'url', 'IDF_Views_Issue::create', array($project.shortname)}
- {trans 'New Issue'}
{/if}
-
-{/block}
-{block context}
-{aurl 'open_url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}
-{aurl 'closed_url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'closed')}
-{blocktrans}Open issues: {$open}
-Closed issues: {$closed}
-{/blocktrans}{if $completion}
-{trans 'Completion:'} {$completion}
-{/if}
-{trans 'Label:'}
-{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}
-{$label.class}: {$label.name}
-
-
-{/block}
diff --git a/src/IDF/templates/issues/create.html b/src/IDF/templates/issues/create.html
deleted file mode 100644
index 7f8bde7..0000000
--- a/src/IDF/templates/issues/create.html
+++ /dev/null
@@ -1,80 +0,0 @@
-{extends "issues/base.html"}
-{block docclass}yui-t3{assign $inCreate = true}{/block}
-{block body}
-{if $form.errors}
-
-
{trans 'The form contains some errors. Please correct them to submit the issue.'}
-{if $form.get_top_errors}
-{$form.render_top_errors|unsafe}
-{/if}
-
-{/if}
-
-
-{/block}
-{block context}
-
-{blocktrans}
When you submit the issue do not forget to provide the following information:
-
-The steps to reproduce the problem.
-The version of the software and your operating system.
-Any information that can help the developers to solve the issue.
-Do not provide any password or confidential information!
- {/blocktrans}
-
-{/block}
-{block javascript}
-
-{include 'issues/js-autocomplete.html'}{/block}
-
diff --git a/src/IDF/templates/issues/index.html b/src/IDF/templates/issues/index.html
deleted file mode 100644
index 23b2551..0000000
--- a/src/IDF/templates/issues/index.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{extends "issues/base.html"}
-{block docclass}yui-t2{/block}
-{block body}
-{$issues.render}
-{if !$user.isAnonymous()}
-{aurl 'url', 'IDF_Views_Issue::create', array($project.shortname)}
- {trans 'New Issue'}
{/if}
-
-{/block}
-{block context}
-{aurl 'open_url', 'IDF_Views_Issue::index', array($project.shortname)}
-{aurl 'closed_url', 'IDF_Views_Issue::listStatus', array($project.shortname, 'closed')}
-{blocktrans}Open issues: {$open}
-Closed issues: {$closed}
{/blocktrans}
-{assign $class = ''}{assign $i = 0}
-{foreach $project.getTagCloud($cloud) as $label}
-{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}
-{if $class != $label.class}{if $i != 0} {/if}{$label.class}: {/if}
-{$label.name} ,{assign $class = $label.class}{assign $i = $i + 1}{/foreach}
-{/block}
diff --git a/src/IDF/templates/issues/issue-created-email.txt b/src/IDF/templates/issues/issue-created-email.txt
deleted file mode 100644
index da8f3c2..0000000
--- a/src/IDF/templates/issues/issue-created-email.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-{trans 'Hello,'}
-
-{blocktrans}A new issue has been created and assigned
-to you:{/blocktrans}
-
-{$issue.id} - {$issue.summary|safe}
-{trans 'Project:'} {$project.name|safe}
-{trans 'Status:'} {$issue.get_status.name|safe}
-{trans 'Reported by:'} {$issue.get_submitter|safe}
-{assign $tags = $issue.get_tags_list()}{if $tags.count()}{trans 'Labels:'}
-{foreach $tags as $tag} {$tag.class|safe}:{$tag.name|safe}
-{/foreach}{/if}
-{trans 'Description:'}
-
-{$comment.content|safe}
-
---
-{trans 'Issue:'} {$url_base}{url 'IDF_Views_Issue::view', array($project.shortname, $issue.id)}
diff --git a/src/IDF/templates/issues/issue-updated-email.txt b/src/IDF/templates/issues/issue-updated-email.txt
deleted file mode 100644
index d996aae..0000000
--- a/src/IDF/templates/issues/issue-updated-email.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-{trans 'Hello,'}
-
-{blocktrans}The following issue has been updated:{/blocktrans}
-
-{$issue.id} - {$issue.summary|safe}
-{trans 'Project:'} {$project.name|safe}
-{trans 'Status:'} {$issue.get_status.name}
-{trans 'Reported by:'} {$issue.get_submitter|safe}
-{trans 'URL:'} {$url_base}{url 'IDF_Views_Issue::view', array($project.shortname, $issue.id)}
-{assign $tags = $issue.get_tags_list()}{if $tags.count()}{trans 'Labels:'}
-{foreach $tags as $tag} {$tag.class|safe}:{$tag.name|safe}
-{/foreach}
-{/if}{trans 'Comments (last first):'}
-
-{foreach $comments as $c}{assign $who = $c.get_submitter()}# {blocktrans}By {$who|safe}, {$c.creation_dtime|date}:{/blocktrans}
-
-{if strlen($c.content) > 0}{$c.content|safe}{else}{trans '(No comments were given for this change.)'}{/if}{if $c.changedIssue()}
-{foreach $c.changes as $w => $v}
- {if $w == 'su'}{trans 'Summary:'}{/if}{if $w == 'st'}{trans 'Status:'}{/if}{if $w == 'ow'}{trans 'Owner:'}{/if}{if $w == 'lb'}{trans 'Labels:'}{/if} {if $w == 'lb'}{assign $l = implode(', ', $v)}{$l}{else}{$v}{/if}{/foreach}{/if}
-
-{/foreach}
-
---
-{trans 'Issue:'} {$url_base}{url 'IDF_Views_Issue::view', array($project.shortname, $issue.id)}
diff --git a/src/IDF/templates/issues/js-autocomplete.html b/src/IDF/templates/issues/js-autocomplete.html
deleted file mode 100644
index 589d178..0000000
--- a/src/IDF/templates/issues/js-autocomplete.html
+++ /dev/null
@@ -1,56 +0,0 @@
-{if $isOwner or $isMember}
-
-
-
-{/if}
diff --git a/src/IDF/templates/issues/my-issues.html b/src/IDF/templates/issues/my-issues.html
deleted file mode 100644
index c936e7c..0000000
--- a/src/IDF/templates/issues/my-issues.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{extends "issues/base.html"}
-{block docclass}yui-t2{assign $inMyIssues = true}{/block}
-{block body}
-{$issues.render}
-{if !$user.isAnonymous()}
-{aurl 'url', 'IDF_Views_Issue::create', array($project.shortname)}
- {trans 'New Issue'}
{/if}
-
-{/block}
-{block context}
-{aurl 'owner_url', 'IDF_Views_Issue::myIssues', array($project.shortname, 'owner')}
-{aurl 'submit_url', 'IDF_Views_Issue::myIssues', array($project.shortname, 'submit')}
-{trans 'Submitted issues:'} {$nb_submit}
-{if $nb_owner > 0}
-{trans 'Working issues:'} {$nb_owner}
{/if}
-{/block}
diff --git a/src/IDF/templates/issues/search.html b/src/IDF/templates/issues/search.html
deleted file mode 100644
index dbfdbb4..0000000
--- a/src/IDF/templates/issues/search.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{extends "issues/base.html"}
-{block docclass}yui-t2{/block}
-{block body}
-{$issues.render}
-{if !$user.isAnonymous()}
-{aurl 'url', 'IDF_Views_Issue::create', array($project.shortname)}
- {trans 'New Issue'}
{/if}
-
-{/block}
-{block context}
-{trans 'Found issues:'} {$issues.nb_items}
-{/block}
diff --git a/src/IDF/templates/issues/view.html b/src/IDF/templates/issues/view.html
deleted file mode 100644
index 143a69e..0000000
--- a/src/IDF/templates/issues/view.html
+++ /dev/null
@@ -1,125 +0,0 @@
-{extends "issues/base.html"}
-{block titleicon}{if $form} {/if}{/block}
-{block body}
-{assign $i = 0}
-{assign $nc = $comments.count()}
-{foreach $comments as $c}
-{assign $i = $i + 1}{if $i == $nc and false == $form}
-
-{/if}
-{/foreach}
-
-{if $form}
-
-
-{if $form.errors}
-
-
{trans 'The form contains some errors. Please correct them to change the issue.'}
-{if $form.get_top_errors}
-{$form.render_top_errors|unsafe}
-{/if}
-
-{/if}
-
-{if $closed and (!$isOwner and !$isMember)}
- {blocktrans}This issue is marked as closed, add a comment only if you think this issue is still valid and more work is needed to fully fix it.{/blocktrans}
-
-{/if}
-
-{/if}
-{/block}
-{block context}
-
-{assign $submitter = $issue.get_submitter()}{aurl 'url', 'IDF_Views_User::view', array($submitter.login)}
-
{trans 'Created:'} {$issue.creation_dtime|dateago} {blocktrans}by {$submitter} {/blocktrans}
-{if $issue.modif_dtime != $issue.creation_dtime}
-{trans 'Updated:'} {$issue.modif_dtime|dateago}
{/if}
-
-{trans 'Status:'} {$issue.get_status.name}
-{if $issue.get_owner != null}
{aurl 'url', 'IDF_Views_User::view', array($issue.get_owner().login)}
-{trans 'Owner:'} {$issue.get_owner}
-
{/if}{assign $tags = $issue.get_tags_list()}{if $tags.count()}
-
-{trans 'Labels:'}
-{foreach $tags as $tag}{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $tag.id, 'open')}
-{$tag.class}: {$tag.name}
-{/foreach}
-
{/if}
-
-{/block}
-{block javascript}{if $form}{include 'issues/js-autocomplete.html'}{/if}{/block}
diff --git a/src/IDF/templates/js-hotkeys.html b/src/IDF/templates/js-hotkeys.html
deleted file mode 100644
index a41dea6..0000000
--- a/src/IDF/templates/js-hotkeys.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-{if $project}
-
-{/if}
diff --git a/src/IDF/templates/login_form.html b/src/IDF/templates/login_form.html
deleted file mode 100644
index 0c69f0f..0000000
--- a/src/IDF/templates/login_form.html
+++ /dev/null
@@ -1,27 +0,0 @@
-{extends "base-simple.html"}
-{block docclass}yui-t1{/block}
-{block body}
-
-
-{/block}
diff --git a/src/IDF/templates/project/home.html b/src/IDF/templates/project/home.html
deleted file mode 100644
index b22d4cc..0000000
--- a/src/IDF/templates/project/home.html
+++ /dev/null
@@ -1,36 +0,0 @@
-{extends "base.html"}
-{block docclass}yui-t2{/block}
-{block tabhome} class="active"{/block}
-{block subtabs}
-
-{/block}
-{block body}
-{$project.description|markdown}
-{/block}
-{block context}
-{if count($downloads) > 0}
-{trans 'Featured Downloads'}
-{foreach $downloads as $download}
-{$download}
-{/foreach}
- {trans 'show more...'}
-{/if}
-{assign $ko = 'owners'}
-{assign $km = 'members'}
-
{trans 'Development Team'}
-{trans 'Admins'}
-{foreach $team[$ko] as $owner}{aurl 'url', 'IDF_Views_User::view', array($owner.login)}
-{$owner}
-{/foreach}
-{if count($team[$km]) > 0}
-{trans 'Happy Crew'}
-{foreach $team[$km] as $member}{aurl 'url', 'IDF_Views_User::view', array($member.login)}
-{$member}
-{/foreach}
-{/if}
-
-{/block}
-
-
diff --git a/src/IDF/templates/project/timeline.html b/src/IDF/templates/project/timeline.html
deleted file mode 100644
index 65dc46f..0000000
--- a/src/IDF/templates/project/timeline.html
+++ /dev/null
@@ -1,61 +0,0 @@
-{extends "base.html"}
-{block docclass}yui-t2{/block}
-{block tabhome} class="active"{/block}
-{block subtabs}
-
-{/block}
-{block body}
-
-
-{$timeline.render}
-
-{*
-
-
-
-{trans 'Age'}
-{trans 'Change'}
-
-
-
-{foreach $timeline as $item}
-
-{$item.creation_dtime|dateago:"wihtout"}
-{timeline $item, $request}
-
-{/foreach}
-
-
-
-*}
-{/block}
-
-
-
-{block context}
-{if count($downloads) > 0}
-{trans 'Featured Downloads'}
-{foreach $downloads as $download}
-{$download}
-{/foreach}
- {trans 'show more...'}
-{/if}
-{assign $ko = 'owners'}
-{assign $km = 'members'}
-
{trans 'Development Team'}
-{trans 'Admins'}
-{foreach $team[$ko] as $owner}{aurl 'url', 'IDF_Views_User::view', array($owner.login)}
-{$owner}
-{/foreach}
-{if count($team[$km]) > 0}
-{trans 'Happy Crew'}
-{foreach $team[$km] as $member}{aurl 'url', 'IDF_Views_User::view', array($member.login)}
-{$member}
-{/foreach}
-{/if}
-
-{/block}
-
-
diff --git a/src/IDF/templates/register/confirmation-email.txt b/src/IDF/templates/register/confirmation-email.txt
deleted file mode 100644
index eb2422a..0000000
--- a/src/IDF/templates/register/confirmation-email.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-{blocktrans}Hello,
-
-You have requested the creation of an account to
-participate in the life of a software project.
-
-To confirm the account please follow this link:
-
-{$url|safe}
-
-Alternatively, go to this page:
-
-{$urlik|safe}
-
-and provide the following confirmation key:
-
-{$key}
-
-If you are not interested any longer in taking
-part in the life of the software project or if
-you can't remember having requested the creation
-of an accout, please excuse us and simply ignore
-this email.
-
-Yours faithfully,
-The development team.
-{/blocktrans}
-
diff --git a/src/IDF/templates/register/confirmation.html b/src/IDF/templates/register/confirmation.html
deleted file mode 100644
index a31778f..0000000
--- a/src/IDF/templates/register/confirmation.html
+++ /dev/null
@@ -1,65 +0,0 @@
-{extends "base-simple.html"}
-{block body}
-{if $form.errors}
-
-
{trans 'Oups, please check the form for errors.'}
-{if $form.get_top_errors}
-{$form.render_top_errors|unsafe}
-{/if}
-{if $form.f.key.errors}{$form.f.key.fieldErrors}{/if}
-
-{/if}
-
-
-{/block}
-{block context}
-
-
{trans 'This is the last step, but just be sure to have the cookies enabled to log in afterwards.'}
-
-{/block}
-{block javascript}
-{include 'issues/js-autocomplete.html'}{/block}
-
diff --git a/src/IDF/templates/register/index.html b/src/IDF/templates/register/index.html
deleted file mode 100644
index 66b92f9..0000000
--- a/src/IDF/templates/register/index.html
+++ /dev/null
@@ -1,57 +0,0 @@
-{extends "base-simple.html"}
-{block body}
-{if $form.errors}
-
-
{trans 'Oups, please check the provided login and email address to register.'}
-{if $form.get_top_errors}
-{$form.render_top_errors|unsafe}
-{/if}
-
-{/if}
-
-
-{/block}
-{block context}
-
-
{trans 'Be sure to provide a valid email address, as we are sending a validation link by email.'}
-
-
{trans 'Did you know?'}
-{aurl 'url', 'IDF_Views::faq'}
-{blocktrans}With your account, you will able to participate in the life of all the projects hosted here. Participating in a software project must be fun, so if you have troubles, you can let us know about your issues at anytime !{/blocktrans}
-
-{/block}
-{block javascript}
-{include 'issues/js-autocomplete.html'}{/block}
-
diff --git a/src/IDF/templates/register/inputkey.html b/src/IDF/templates/register/inputkey.html
deleted file mode 100644
index 24ee832..0000000
--- a/src/IDF/templates/register/inputkey.html
+++ /dev/null
@@ -1,40 +0,0 @@
-{extends "base-simple.html"}
-{block body}
-{if $form.errors}
-
-
{trans 'Oups, we found an error in the form.'}
-{if $form.get_top_errors}
-{$form.render_top_errors|unsafe}
-{/if}
-
-{/if}
-
-
-{/block}
-{block context}
-
-
{trans 'Instructions'}
-
{trans 'Use your email software to read your emails and open your confirmation email. Either click directly on the confirmation link or copy/paste the confirmation key in the box and submit the form.'}
-
{trans 'Just after providing the confirmation key, you will be able to set your password and start using this website fully.'}
-
-{/block}
-{block javascript}
-{include 'issues/js-autocomplete.html'}{/block}
-
diff --git a/src/IDF/templates/source/base.html b/src/IDF/templates/source/base.html
deleted file mode 100644
index 166e767..0000000
--- a/src/IDF/templates/source/base.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{extends "base.html"}
-{block tabsource} class="active"{/block}
-{block subtabs}
-
-{/block}
-{block title}{$title}{/block}
diff --git a/src/IDF/templates/source/changelog.html b/src/IDF/templates/source/changelog.html
deleted file mode 100644
index 73007d1..0000000
--- a/src/IDF/templates/source/changelog.html
+++ /dev/null
@@ -1,50 +0,0 @@
-{extends "source/base.html"}
-{block docclass}yui-t1{assign $inChangeLog=true}{/block}
-{block body}
-
-
-
-{trans 'Age'}
-{trans 'Message'}
-
-
-
-{foreach $changes as $change}
-{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $change.commit)}
-
-{$change.date|dateago:"wihtout"}
-{issuetext $change.title, $request}{if $change.full_message} {issuetext $change.full_message, $request}{/if}
-
-
-{/foreach}
-
-
-{/block}
-{block context}
-{if $scm == 'git'}
-{trans 'Branches:'}
-{foreach $branches as $branch}
-{aurl 'url', 'IDF_Views_Source::changeLog', array($project.shortname, $branch)}
-{$branch}
-{/foreach}
-
-{/if}
-{if $scm == 'svn'}
-
-
-{/if}
-{/block}
-
diff --git a/src/IDF/templates/source/commit.html b/src/IDF/templates/source/commit.html
deleted file mode 100644
index 2f01d4d..0000000
--- a/src/IDF/templates/source/commit.html
+++ /dev/null
@@ -1,52 +0,0 @@
-{extends "source/base.html"}
-{block extraheader} {/block}
-{block docclass}yui-t1{assign $inCommit=true}{/block}
-{block body}
-
-
-{trans 'Date:'} {$cobject.date|date:"%Y-%m-%d %H:%M:%S"} ({$cobject.date|dateago})
-
-
-{trans 'Author:'} {$cobject.author|strip_tags}
-
-
-{trans 'Commit:'} {$cobject.commit}
-
-
-{trans 'Message:'} {issuetext $cobject.title, $request}{if isset($cobject.full_message)} {issuetext $cobject.full_message, $request}{/if}
-
-{if count($diff.files)}
-
-{trans 'Files:'}
-
-{foreach $diff.files as $filename=>$diffdef}
-{assign $ndiff = count($diffdef['chunks'])}
-{$filename} ({blocktrans $ndiff}{$ndiff} diff{plural}{$ndiff} diffs{/blocktrans} )
-{/foreach}
-
-
-{/if}
-
-{if count($diff.files)}
-{trans 'Change Details'}
-
-{$diff.as_html()}
-{/if}
-{/block}
-{block context}
-{if $scm == 'git'}
-{trans 'Branches:'}
-{foreach $branches as $branch}
-{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $branch)}
-{$branch}
-{/foreach}
-
-{/if}
-{/block}
-
-{block javascript}
-
-
-{/block}
diff --git a/src/IDF/templates/source/git/file.html b/src/IDF/templates/source/git/file.html
deleted file mode 100644
index 1dfe773..0000000
--- a/src/IDF/templates/source/git/file.html
+++ /dev/null
@@ -1,36 +0,0 @@
-{extends "source/base.html"}
-{block extraheader} {/block}
-{block docclass}yui-t1{assign $inSourceTree=true}{/block}
-{block body}
-{trans 'Root'} / {if $breadcrumb}{$breadcrumb|safe}{/if}
-
-
-{if !$tree_in}
-{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
-
-{blocktrans}Source at commit {$commit} created {$cobject.date|dateago}.{/blocktrans}
-{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}
-
-
-{/if}
-
-{$file}
-
-
-{aurl 'url', 'IDF_Views_Source::getFile', array($project.shortname, $commit, $fullpath)}
- {trans 'Download this file'}
-
-{/block}
-{block context}
-{trans 'Branches:'}
-{foreach $branches as $branch}
-{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
-{$branch}
-{/foreach}
-
-{/block}
-
-{block javascript}
-
-
-{/block}
diff --git a/src/IDF/templates/source/git/tree.html b/src/IDF/templates/source/git/tree.html
deleted file mode 100644
index 378ac0d..0000000
--- a/src/IDF/templates/source/git/tree.html
+++ /dev/null
@@ -1,57 +0,0 @@
-{extends "source/base.html"}
-{block docclass}yui-t1{assign $inSourceTree=true}{/block}
-{block body}
-{trans 'Root'} / {if $breadcrumb}{$breadcrumb|safe}{/if}
-
-
-
-
-{trans 'File'}
-{trans 'Age'}
-{trans 'Message'}
-{trans 'Size'}
-
- {if !$tree_in}
-{aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
-
-{blocktrans}Source at commit {$commit} created {$cobject.date|dateago}.{/blocktrans}
-{blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}
-
-
-{/if}
-{if $base}
-
-
-
-..
-
-
-{/if}
-{foreach $files as $file}
-{aurl 'url', 'IDF_Views_Source::tree', array($project.shortname, $commit, $file.fullpath)}
-
-
-{$file.file}
-{if $file.type == 'blob'}
-{if isset($file.date)}
-{$file.date|dateago:"wihtout"}
-{$file.author|strip_tags|trim}{trans ':'} {issuetext $file.log, $request, true, false}
-{else} {/if}
-{$file.size|size} {/if}
-
-{/foreach}
-
-
-{aurl 'url', 'IDF_Views_Source::download', array($project.shortname, $commit)}
- {trans 'Download this version'} {trans 'or'} git clone {$project.getRemoteAccessUrl()}
-
-
-{/block}
-{block context}
-{trans 'Branches:'}
-{foreach $branches as $branch}
-{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $branch)}
-{$branch}
-{/foreach}
-
-{/block}
diff --git a/src/IDF/templates/source/svn/file.html b/src/IDF/templates/source/svn/file.html
deleted file mode 100644
index 2e9de70..0000000
--- a/src/IDF/templates/source/svn/file.html
+++ /dev/null
@@ -1,49 +0,0 @@
-{extends "source/base.html"}
-{block extraheader} {/block}
-{block docclass}yui-t1{assign $inSourceTree=true}{/block}
-{block body}
-{trans 'Root'} / {if $breadcrumb}{$breadcrumb|safe}{/if}
-
-
-{if !$tree_in || $props}
- {aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
-
- {if $props}
-
-
- {foreach $props as $prop => $val}
- {trans 'Property'} {$prop} {trans 'set to:'} {$val}
- {/foreach}
-
-
- {/if}
- {if !$tree_in}
- {blocktrans}Source at commit {$commit} created {$cobject.date|dateago}.{/blocktrans}
- {blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}
-
- {/if}
-
- {/if}
-
-{$file}
-
-
-{aurl 'url', 'IDF_Views_Source::getFile', array($project.shortname, $commit, $fullpath)}
- {trans 'Download this file'}
-
-{/block}
-{block context}
-
-
-{/block}
-
-{block javascript}
-
-
-{/block}
diff --git a/src/IDF/templates/source/svn/tree.html b/src/IDF/templates/source/svn/tree.html
deleted file mode 100644
index 949d2e3..0000000
--- a/src/IDF/templates/source/svn/tree.html
+++ /dev/null
@@ -1,72 +0,0 @@
-{extends "source/base.html"}
-{block docclass}yui-t1{assign $inSourceTree=true}{/block}
-{block body}
-{trans 'Root'} / {if $breadcrumb}{$breadcrumb|safe}{/if}
-
-
-
-
- {trans 'File'}
- {trans 'Age'}
- {trans 'Rev'}
- {trans 'Message'}
- {trans 'Size'}
-
- {if !$tree_in || $props}
- {aurl 'url', 'IDF_Views_Source::commit', array($project.shortname, $commit)}
-
- {if $props}
-
-
- {foreach $props as $prop => $val}
- {trans 'Property'} {$prop} {trans 'set to:'} {$val}
- {/foreach}
-
-
- {/if}
- {if !$tree_in}
- {blocktrans}Source at commit {$commit} created {$cobject.date|dateago}.{/blocktrans}
- {blocktrans}By {$cobject.author|strip_tags|trim}, {$cobject.title}{/blocktrans}
-
- {/if}
-
- {/if}
- {if $base}
-
-
-
- ..
-
-
- {/if}
- {foreach $files as $file}
- {aurl 'url', 'IDF_Views_Source::tree', array($project.shortname, $commit, $file.fullpath)}
-
-
-
- {$file.file}
- {$file.date|dateago:"wihtout"}
- {$file.rev}
- {$file.author|strip_tags|trim}{trans ':'} {issuetext $file.log, $request, true, false}
- {if $file.type == 'blob'}
- {$file.size|size}
- {/if}
-
-
- {/foreach}
-
-
-svn co -r {$commit} {$project.getRemoteAccessUrl()}
-
-
-{/block}
-{block context}
-
-
-{/block}
diff --git a/src/IDF/templates/user/myaccount.html b/src/IDF/templates/user/myaccount.html
deleted file mode 100644
index 32dc86c..0000000
--- a/src/IDF/templates/user/myaccount.html
+++ /dev/null
@@ -1,59 +0,0 @@
-{extends "base-simple.html"}
-{block body}
-{if $form.errors}
-
-
{trans 'Oups, please check the form for errors.'}
-{if $form.get_top_errors}
-{$form.render_top_errors|unsafe}
-{/if}
-
-{/if}
-
-
-{/block}
-{block context}
-
-
{trans 'If possible, use your real name. By using your real name, people will have more trust in your comments and remarks.'}
-
{/block}
-{block javascript}
-{/block}
-
diff --git a/src/IDF/templates/user/public.html b/src/IDF/templates/user/public.html
deleted file mode 100644
index 43cfd48..0000000
--- a/src/IDF/templates/user/public.html
+++ /dev/null
@@ -1,28 +0,0 @@
-{extends "base-simple.html"}
-{block body}
-
-{/block}
-{block context}
-
-
{blocktrans}You are looking at the public profile of {$member}.{/blocktrans}
-
-{trans 'Projects'}
-{foreach $projects as $p}
-{$p}
-{/foreach}
-{/block}
-
-
{blocktrans}Reported by {$who}, {$c.creation_dtime|date}{/blocktrans}
+{else} +{aurl 'url', 'IDF_Views_Issue::view', array($project.shortname, $issue.id)} +{assign $id = $c.id} +{assign $url = $url~'#ic'~$c.id} +{blocktrans}Comment {$i} by {$who}, {$c.creation_dtime|date}{/blocktrans}
+{/if} + + +{assign $attachments = $c.get_attachment_list()} +{if $attachments.count() > 0} ++
+{foreach $attachments as $a}- {$a.filename} - {$a.filesize|size}
{/foreach}
+
{/if} +{if $i> 0 and $c.changedIssue()} ++{/foreach} +