Fixed in part issue 56, the templates are in the idf subfolder.
This commit is contained in:
parent
8e093bc7ee
commit
725ece26cd
@ -37,7 +37,7 @@ class IDF_Views
|
|||||||
public function index($request, $match)
|
public function index($request, $match)
|
||||||
{
|
{
|
||||||
$projects = Pluf::factory('IDF_Project')->getList();
|
$projects = Pluf::factory('IDF_Project')->getList();
|
||||||
return Pluf_Shortcuts_RenderToResponse('index.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/index.html',
|
||||||
array('page_title' => __('Projects'),
|
array('page_title' => __('Projects'),
|
||||||
'projects' => $projects),
|
'projects' => $projects),
|
||||||
$request);
|
$request);
|
||||||
@ -90,7 +90,7 @@ class IDF_Views
|
|||||||
$init = (isset($request->GET['login'])) ? array('initial' => array('login' => $request->GET['login'])) : array();
|
$init = (isset($request->GET['login'])) ? array('initial' => array('login' => $request->GET['login'])) : array();
|
||||||
$form = new IDF_Form_Register(null, $init);
|
$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,
|
array('page_title' => $title,
|
||||||
'form' => $form),
|
'form' => $form),
|
||||||
$request);
|
$request);
|
||||||
@ -114,7 +114,7 @@ class IDF_Views
|
|||||||
} else {
|
} else {
|
||||||
$form = new IDF_Form_RegisterInputKey();
|
$form = new IDF_Form_RegisterInputKey();
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('register/inputkey.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/register/inputkey.html',
|
||||||
array('page_title' => $title,
|
array('page_title' => $title,
|
||||||
'form' => $form),
|
'form' => $form),
|
||||||
$request);
|
$request);
|
||||||
@ -157,7 +157,7 @@ class IDF_Views
|
|||||||
} else {
|
} else {
|
||||||
$form = new IDF_Form_RegisterConfirmation(null, $extra);
|
$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,
|
array('page_title' => $title,
|
||||||
'new_user' => $user,
|
'new_user' => $user,
|
||||||
'form' => $form),
|
'form' => $form),
|
||||||
@ -171,7 +171,7 @@ class IDF_Views
|
|||||||
{
|
{
|
||||||
$title = __('Here to Help You!');
|
$title = __('Here to Help You!');
|
||||||
$projects = Pluf::factory('IDF_Project')->getList();
|
$projects = Pluf::factory('IDF_Project')->getList();
|
||||||
return Pluf_Shortcuts_RenderToResponse('faq.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/faq.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'projects' => $projects,
|
'projects' => $projects,
|
||||||
|
@ -72,7 +72,7 @@ class IDF_Views_Download
|
|||||||
$pag->sort_order = array('creation_dtime', 'DESC');
|
$pag->sort_order = array('creation_dtime', 'DESC');
|
||||||
$pag->setFromRequest($request);
|
$pag->setFromRequest($request);
|
||||||
$tags = $prj->getTagCloud('downloads');
|
$tags = $prj->getTagCloud('downloads');
|
||||||
return Pluf_Shortcuts_RenderToResponse('downloads/index.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/downloads/index.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'downloads' => $pag,
|
'downloads' => $pag,
|
||||||
@ -121,7 +121,7 @@ class IDF_Views_Download
|
|||||||
'project' => $prj,
|
'project' => $prj,
|
||||||
'user' => $request->user));
|
'user' => $request->user));
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('downloads/view.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/downloads/view.html',
|
||||||
array(
|
array(
|
||||||
'file' => $upload,
|
'file' => $upload,
|
||||||
'deprecated' => $deprecated,
|
'deprecated' => $deprecated,
|
||||||
@ -158,7 +158,7 @@ class IDF_Views_Download
|
|||||||
array($prj->shortname));
|
array($prj->shortname));
|
||||||
return new Pluf_HTTP_Response_Redirect($url);
|
return new Pluf_HTTP_Response_Redirect($url);
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('downloads/delete.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/downloads/delete.html',
|
||||||
array(
|
array(
|
||||||
'file' => $upload,
|
'file' => $upload,
|
||||||
'deprecated' => $deprecated,
|
'deprecated' => $deprecated,
|
||||||
@ -209,7 +209,7 @@ class IDF_Views_Download
|
|||||||
array('project' => $prj,
|
array('project' => $prj,
|
||||||
'user' => $request->user));
|
'user' => $request->user));
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('downloads/submit.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/downloads/submit.html',
|
||||||
array(
|
array(
|
||||||
'auto_labels' => self::autoCompleteArrays($prj),
|
'auto_labels' => self::autoCompleteArrays($prj),
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
@ -279,7 +279,7 @@ class IDF_Views_Download
|
|||||||
$pag->sort_order = array('creation_dtime', 'DESC');
|
$pag->sort_order = array('creation_dtime', 'DESC');
|
||||||
$pag->setFromRequest($request);
|
$pag->setFromRequest($request);
|
||||||
$tags = $prj->getTagCloud('downloads');
|
$tags = $prj->getTagCloud('downloads');
|
||||||
return Pluf_Shortcuts_RenderToResponse('downloads/index.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/downloads/index.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'label' => $tag,
|
'label' => $tag,
|
||||||
|
@ -65,7 +65,7 @@ class IDF_Views_Issue
|
|||||||
$pag->items_per_page = 10;
|
$pag->items_per_page = 10;
|
||||||
$pag->no_results_text = __('No issues were found.');
|
$pag->no_results_text = __('No issues were found.');
|
||||||
$pag->setFromRequest($request);
|
$pag->setFromRequest($request);
|
||||||
return Pluf_Shortcuts_RenderToResponse('issues/index.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/issues/index.html',
|
||||||
array('project' => $prj,
|
array('project' => $prj,
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'open' => $open,
|
'open' => $open,
|
||||||
@ -121,7 +121,7 @@ class IDF_Views_Issue
|
|||||||
$pag->items_per_page = 10;
|
$pag->items_per_page = 10;
|
||||||
$pag->no_results_text = __('No issues were found.');
|
$pag->no_results_text = __('No issues were found.');
|
||||||
$pag->setFromRequest($request);
|
$pag->setFromRequest($request);
|
||||||
return Pluf_Shortcuts_RenderToResponse('issues/my-issues.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/issues/my-issues.html',
|
||||||
array('project' => $prj,
|
array('project' => $prj,
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'nb_submit' => $nb_submit,
|
'nb_submit' => $nb_submit,
|
||||||
@ -175,7 +175,7 @@ class IDF_Views_Issue
|
|||||||
$form = new IDF_Form_IssueCreate(null, $params);
|
$form = new IDF_Form_IssueCreate(null, $params);
|
||||||
}
|
}
|
||||||
$arrays = self::autoCompleteArrays($prj);
|
$arrays = self::autoCompleteArrays($prj);
|
||||||
return Pluf_Shortcuts_RenderToResponse('issues/create.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/issues/create.html',
|
||||||
array_merge(
|
array_merge(
|
||||||
array('project' => $prj,
|
array('project' => $prj,
|
||||||
'form' => $form,
|
'form' => $form,
|
||||||
@ -223,7 +223,7 @@ class IDF_Views_Issue
|
|||||||
'issues' => $pag,
|
'issues' => $pag,
|
||||||
'q' => $q,
|
'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);
|
$arrays = self::autoCompleteArrays($prj);
|
||||||
return Pluf_Shortcuts_RenderToResponse('issues/view.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/issues/view.html',
|
||||||
array_merge(
|
array_merge(
|
||||||
array(
|
array(
|
||||||
'issue' => $issue,
|
'issue' => $issue,
|
||||||
@ -362,7 +362,7 @@ class IDF_Views_Issue
|
|||||||
$pag->items_per_page = 10;
|
$pag->items_per_page = 10;
|
||||||
$pag->no_results_text = __('No issues were found.');
|
$pag->no_results_text = __('No issues were found.');
|
||||||
$pag->setFromRequest($request);
|
$pag->setFromRequest($request);
|
||||||
return Pluf_Shortcuts_RenderToResponse('issues/index.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/issues/index.html',
|
||||||
array('project' => $prj,
|
array('project' => $prj,
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'open' => $open,
|
'open' => $open,
|
||||||
@ -424,7 +424,7 @@ class IDF_Views_Issue
|
|||||||
} else {
|
} else {
|
||||||
$completion = false;
|
$completion = false;
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('issues/by-label.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/issues/by-label.html',
|
||||||
array('project' => $prj,
|
array('project' => $prj,
|
||||||
'completion' => $completion,
|
'completion' => $completion,
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
|
@ -45,7 +45,7 @@ class IDF_Views_Project
|
|||||||
// the first tag is the featured, the last is the deprecated.
|
// the first tag is the featured, the last is the deprecated.
|
||||||
$downloads = $tags[0]->get_idf_upload_list();
|
$downloads = $tags[0]->get_idf_upload_list();
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('project/home.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/project/home.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'team' => $team,
|
'team' => $team,
|
||||||
@ -102,7 +102,7 @@ class IDF_Views_Project
|
|||||||
// the first tag is the featured, the last is the deprecated.
|
// the first tag is the featured, the last is the deprecated.
|
||||||
$downloads = $tags[0]->get_idf_upload_list();
|
$downloads = $tags[0]->get_idf_upload_list();
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('project/timeline.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/project/timeline.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'timeline' => $pag,
|
'timeline' => $pag,
|
||||||
@ -136,7 +136,7 @@ class IDF_Views_Project
|
|||||||
$form = Pluf_Shortcuts_GetFormForModel($prj, $prj->getData(),
|
$form = Pluf_Shortcuts_GetFormForModel($prj, $prj->getData(),
|
||||||
$form_fields);
|
$form_fields);
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('admin/summary.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/admin/summary.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'form' => $form,
|
'form' => $form,
|
||||||
@ -180,7 +180,7 @@ class IDF_Views_Project
|
|||||||
}
|
}
|
||||||
$form = new IDF_Form_IssueTrackingConf($params);
|
$form = new IDF_Form_IssueTrackingConf($params);
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('admin/issue-tracking.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/admin/issue-tracking.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'form' => $form,
|
'form' => $form,
|
||||||
@ -223,7 +223,7 @@ class IDF_Views_Project
|
|||||||
}
|
}
|
||||||
$form = new IDF_Form_UploadConf($params);
|
$form = new IDF_Form_UploadConf($params);
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('admin/downloads.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/admin/downloads.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'form' => $form,
|
'form' => $form,
|
||||||
@ -255,7 +255,7 @@ class IDF_Views_Project
|
|||||||
} else {
|
} else {
|
||||||
$form = new IDF_Form_MembersConf($prj->getMembershipData('string'), $params);
|
$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(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'form' => $form,
|
'form' => $form,
|
||||||
@ -300,7 +300,7 @@ class IDF_Views_Project
|
|||||||
}
|
}
|
||||||
$form = new IDF_Form_TabsConf($params, $extra);
|
$form = new IDF_Form_TabsConf($params, $extra);
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('admin/tabs.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/admin/tabs.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'form' => $form,
|
'form' => $form,
|
||||||
@ -345,7 +345,7 @@ class IDF_Views_Project
|
|||||||
}
|
}
|
||||||
$form = new IDF_Form_SourceConf($params, $extra);
|
$form = new IDF_Form_SourceConf($params, $extra);
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('admin/source.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/admin/source.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'form' => $form,
|
'form' => $form,
|
||||||
|
@ -59,7 +59,7 @@ class IDF_Views_Source
|
|||||||
}
|
}
|
||||||
$changes = new Pluf_Template_ContextVars($changes);
|
$changes = new Pluf_Template_ContextVars($changes);
|
||||||
$scmConf = $request->conf->getVal('scm', 'git');
|
$scmConf = $request->conf->getVal('scm', 'git');
|
||||||
return Pluf_Shortcuts_RenderToResponse('source/changelog.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/source/changelog.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
@ -95,7 +95,7 @@ class IDF_Views_Source
|
|||||||
if ($scmConf === 'svn') {
|
if ($scmConf === 'svn') {
|
||||||
$props = $scm->getProperties($commit);
|
$props = $scm->getProperties($commit);
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('source/'.$scmConf.'/tree.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/source/'.$scmConf.'/tree.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $title,
|
'page_title' => $title,
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
@ -165,7 +165,7 @@ class IDF_Views_Source
|
|||||||
if ($scmConf === 'svn') {
|
if ($scmConf === 'svn') {
|
||||||
$props = $scm->getProperties($commit, $request_file);
|
$props = $scm->getProperties($commit, $request_file);
|
||||||
}
|
}
|
||||||
return Pluf_Shortcuts_RenderToResponse('source/'.$scmConf.'/tree.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/source/'.$scmConf.'/tree.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $page_title,
|
'page_title' => $page_title,
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
@ -218,7 +218,7 @@ class IDF_Views_Source
|
|||||||
$diff = new IDF_Diff($cobject->changes);
|
$diff = new IDF_Diff($cobject->changes);
|
||||||
$diff->parse();
|
$diff->parse();
|
||||||
$scmConf = $request->conf->getVal('scm', 'git');
|
$scmConf = $request->conf->getVal('scm', 'git');
|
||||||
return Pluf_Shortcuts_RenderToResponse('source/commit.html',
|
return Pluf_Shortcuts_RenderToResponse('idf/source/commit.html',
|
||||||
array(
|
array(
|
||||||
'page_title' => $page_title,
|
'page_title' => $page_title,
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
@ -257,7 +257,7 @@ class IDF_Views_Source
|
|||||||
$props = $scm->getProperties($commit, $request_file);
|
$props = $scm->getProperties($commit, $request_file);
|
||||||
}
|
}
|
||||||
$content = self::highLight($extra['mime'], $scm->getBlob($request_file_info, $commit));
|
$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(
|
array(
|
||||||
'page_title' => $page_title,
|
'page_title' => $page_title,
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
|
@ -50,7 +50,7 @@ class IDF_Views_User
|
|||||||
} else {
|
} else {
|
||||||
$form = new IDF_Form_UserAccount($request->user->getData(), $params);
|
$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'),
|
array('page_title' => __('Your Account'),
|
||||||
'form' => $form),
|
'form' => $form),
|
||||||
$request);
|
$request);
|
||||||
@ -67,7 +67,7 @@ class IDF_Views_User
|
|||||||
if (count($users) != 1 or !$users[0]->active) {
|
if (count($users) != 1 or !$users[0]->active) {
|
||||||
throw new Pluf_HTTP_Error404();
|
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],
|
array('page_title' => (string) $users[0],
|
||||||
'member' => $users[0],
|
'member' => $users[0],
|
||||||
'projects' => $projects,
|
'projects' => $projects,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base.html"}
|
{extends "idf/base.html"}
|
||||||
{block tabadmin} class="active"{/block}
|
{block tabadmin} class="active"{/block}
|
||||||
{block subtabs}
|
{block subtabs}
|
||||||
<div id="sub-tabs">
|
<div id="sub-tabs">
|
@ -1,4 +1,4 @@
|
|||||||
{extends "admin/base.html"}
|
{extends "idf/admin/base.html"}
|
||||||
{block docclass}yui-t1{assign $inDownloads = true}{/block}
|
{block docclass}yui-t1{assign $inDownloads = true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
<form method="post" action=".">
|
<form method="post" action=".">
|
@ -1,4 +1,4 @@
|
|||||||
{extends "admin/base.html"}
|
{extends "idf/admin/base.html"}
|
||||||
{block docclass}yui-t1{assign $inIssueTracking = true}{/block}
|
{block docclass}yui-t1{assign $inIssueTracking = true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
<form method="post" action=".">
|
<form method="post" action=".">
|
@ -1,4 +1,4 @@
|
|||||||
{extends "admin/base.html"}
|
{extends "idf/admin/base.html"}
|
||||||
{block docclass}yui-t3{assign $inMembers = true}{/block}
|
{block docclass}yui-t3{assign $inMembers = true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
<form method="post" action=".">
|
<form method="post" action=".">
|
@ -1,4 +1,4 @@
|
|||||||
{extends "admin/base.html"}
|
{extends "idf/admin/base.html"}
|
||||||
{block docclass}yui-t1{assign $inSource = true}{/block}
|
{block docclass}yui-t1{assign $inSource = true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{if $form.errors}
|
{if $form.errors}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "admin/base.html"}
|
{extends "idf/admin/base.html"}
|
||||||
{block docclass}yui-t1{assign $inSummary = true}{/block}
|
{block docclass}yui-t1{assign $inSummary = true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{if $form.errors}
|
{if $form.errors}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "admin/base.html"}
|
{extends "idf/admin/base.html"}
|
||||||
{block docclass}yui-t1{assign $inTabs = true}{/block}
|
{block docclass}yui-t1{assign $inTabs = true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{if $form.errors}
|
{if $form.errors}
|
@ -37,10 +37,6 @@
|
|||||||
{if !$user.isAnonymous()}{aurl 'url', 'IDF_Views_User::myAccount'}{blocktrans}Welcome, <strong><a class="userw" href="{$url}">{$user}</a></strong>.{/blocktrans} <a href="{url 'IDF_Views::logout'}">{trans 'Sign Out'}</a>{else}<a href="{url 'IDF_Views::login'}">{trans 'Sign in or create your account'}</a>{/if}
|
{if !$user.isAnonymous()}{aurl 'url', 'IDF_Views_User::myAccount'}{blocktrans}Welcome, <strong><a class="userw" href="{$url}">{$user}</a></strong>.{/blocktrans} <a href="{url 'IDF_Views::logout'}">{trans 'Sign Out'}</a>{else}<a href="{url 'IDF_Views::login'}">{trans 'Sign in or create your account'}</a>{/if}
|
||||||
| <a href="{url 'IDF_Views::faq'}">{trans 'Help'}</a>
|
| <a href="{url 'IDF_Views::faq'}">{trans 'Help'}</a>
|
||||||
</p>
|
</p>
|
||||||
{* <div id="header">
|
|
||||||
|
|
||||||
</div> *}
|
|
||||||
|
|
||||||
<h1 id="title" class="title">{block title}{$page_title}{/block}</h1>
|
<h1 id="title" class="title">{block title}{$page_title}{/block}</h1>
|
||||||
|
|
||||||
</div>
|
</div>
|
@ -69,7 +69,7 @@
|
|||||||
<div id="ft">{block foot}{/block}</div>
|
<div id="ft">{block foot}{/block}</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="{media '/idf/js/jquery-1.2.6.min.js'}"></script>
|
<script type="text/javascript" src="{media '/idf/js/jquery-1.2.6.min.js'}"></script>
|
||||||
{include 'js-hotkeys.html'}
|
{include 'idf/js-hotkeys.html'}
|
||||||
{block javascript}{/block}
|
{block javascript}{/block}
|
||||||
{if $project}
|
{if $project}
|
||||||
<script type="text/javascript">{literal}
|
<script type="text/javascript">{literal}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base.html"}
|
{extends "idf/base.html"}
|
||||||
{block tabdownloads} class="active"{/block}
|
{block tabdownloads} class="active"{/block}
|
||||||
{block subtabs}
|
{block subtabs}
|
||||||
<div id="sub-tabs">
|
<div id="sub-tabs">
|
@ -1,4 +1,4 @@
|
|||||||
{extends "downloads/base.html"}
|
{extends "idf/downloads/base.html"}
|
||||||
{block docclass}yui-t3{assign $inDownloads=true}{/block}
|
{block docclass}yui-t3{assign $inDownloads=true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
{extends "downloads/base.html"}
|
{extends "idf/downloads/base.html"}
|
||||||
{block docclass}yui-t1{assign $inDownloads=true}{/block}
|
{block docclass}yui-t1{assign $inDownloads=true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{$downloads.render}
|
{$downloads.render}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "downloads/base.html"}
|
{extends "idf/downloads/base.html"}
|
||||||
{block docclass}yui-t3{assign $inSubmit=true}{/block}
|
{block docclass}yui-t3{assign $inSubmit=true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{if $form.errors}
|
{if $form.errors}
|
||||||
@ -56,5 +56,5 @@ name.{/blocktrans}</p>
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.getElementById('id_summary').focus()
|
document.getElementById('id_summary').focus()
|
||||||
</script>
|
</script>
|
||||||
{include 'downloads/js-autocomplete.html'}{/block}
|
{include 'idf/downloads/js-autocomplete.html'}{/block}
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
{extends "downloads/base.html"}
|
{extends "idf/downloads/base.html"}
|
||||||
{block docclass}yui-t3{assign $inDownloads=true}{/block}
|
{block docclass}yui-t3{assign $inDownloads=true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
|
|
||||||
@ -65,5 +65,5 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.getElementById('id_summary').focus()
|
document.getElementById('id_summary').focus()
|
||||||
</script>
|
</script>
|
||||||
{include 'downloads/js-autocomplete.html'}{/if}{/block}
|
{include 'idf/downloads/js-autocomplete.html'}{/if}{/block}
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base-simple.html"}
|
{extends "idf/base-simple.html"}
|
||||||
{block docclass}yui-t3{/block}
|
{block docclass}yui-t3{/block}
|
||||||
{block body}
|
{block body}
|
||||||
<ul>
|
<ul>
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base-simple.html"}
|
{extends "idf/base-simple.html"}
|
||||||
{block docclass}yui-t1{/block}
|
{block docclass}yui-t1{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{if $projects.count() == 0}
|
{if $projects.count() == 0}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base.html"}
|
{extends "idf/base.html"}
|
||||||
{block tabissues} class="active"{/block}
|
{block tabissues} class="active"{/block}
|
||||||
{block subtabs}
|
{block subtabs}
|
||||||
<div id="sub-tabs">
|
<div id="sub-tabs">
|
@ -1,4 +1,4 @@
|
|||||||
{extends "issues/base.html"}
|
{extends "idf/issues/base.html"}
|
||||||
{block docclass}yui-t1{/block}
|
{block docclass}yui-t1{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{$issues.render}
|
{$issues.render}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "issues/base.html"}
|
{extends "idf/issues/base.html"}
|
||||||
{block docclass}yui-t3{assign $inCreate = true}{/block}
|
{block docclass}yui-t3{assign $inCreate = true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{if $form.errors}
|
{if $form.errors}
|
||||||
@ -76,5 +76,5 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.getElementById('id_summary').focus()
|
document.getElementById('id_summary').focus()
|
||||||
</script>
|
</script>
|
||||||
{include 'issues/js-autocomplete.html'}{/block}
|
{include 'idf/issues/js-autocomplete.html'}{/block}
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
{extends "issues/base.html"}
|
{extends "idf/issues/base.html"}
|
||||||
{block docclass}yui-t2{/block}
|
{block docclass}yui-t2{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{$issues.render}
|
{$issues.render}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "issues/base.html"}
|
{extends "idf/issues/base.html"}
|
||||||
{block docclass}yui-t2{assign $inMyIssues = true}{/block}
|
{block docclass}yui-t2{assign $inMyIssues = true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{$issues.render}
|
{$issues.render}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "issues/base.html"}
|
{extends "idf/issues/base.html"}
|
||||||
{block docclass}yui-t2{/block}
|
{block docclass}yui-t2{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{$issues.render}
|
{$issues.render}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "issues/base.html"}
|
{extends "idf/issues/base.html"}
|
||||||
{block titleicon}{if $form}<form class="star" method="post" action="{url 'IDF_Views_Issue::star', array($project.shortname, $issue.id)}"><input type="image" src="{if $starred}{media '/idf/img/star.png'}{else}{media '/idf/img/star-grey.png'}{/if}" name="submit" /></form> {/if}{/block}
|
{block titleicon}{if $form}<form class="star" method="post" action="{url 'IDF_Views_Issue::star', array($project.shortname, $issue.id)}"><input type="image" src="{if $starred}{media '/idf/img/star.png'}{else}{media '/idf/img/star-grey.png'}{/if}" name="submit" /></form> {/if}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
{assign $i = 0}
|
{assign $i = 0}
|
||||||
@ -122,4 +122,4 @@
|
|||||||
</p>{/if}
|
</p>{/if}
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
{block javascript}{if $form}{include 'issues/js-autocomplete.html'}{/if}{/block}
|
{block javascript}{if $form}{include 'idf/issues/js-autocomplete.html'}{/if}{/block}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base-simple.html"}
|
{extends "idf/base-simple.html"}
|
||||||
{block docclass}yui-t1{/block}
|
{block docclass}yui-t1{/block}
|
||||||
{block body}
|
{block body}
|
||||||
<form method="post" action="{url 'IDF_Views::login'}">
|
<form method="post" action="{url 'IDF_Views::login'}">
|
||||||
@ -16,10 +16,6 @@
|
|||||||
|
|
||||||
<p><input type="submit" value="{trans 'Sign in'}" />
|
<p><input type="submit" value="{trans 'Sign in'}" />
|
||||||
</p>
|
</p>
|
||||||
{* <p><a href="{url 'CM_Views::passwordRecovery-1', array(), true}">{trans 'Forgot your password? Click here'}</a>.</p>
|
|
||||||
|
|
||||||
|
|
||||||
*}
|
|
||||||
</form>
|
</form>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.getElementById('id_login').focus()
|
document.getElementById('id_login').focus()
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base.html"}
|
{extends "idf/base.html"}
|
||||||
{block docclass}yui-t2{/block}
|
{block docclass}yui-t2{/block}
|
||||||
{block tabhome} class="active"{/block}
|
{block tabhome} class="active"{/block}
|
||||||
{block subtabs}
|
{block subtabs}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base.html"}
|
{extends "idf/base.html"}
|
||||||
{block docclass}yui-t2{/block}
|
{block docclass}yui-t2{/block}
|
||||||
{block tabhome} class="active"{/block}
|
{block tabhome} class="active"{/block}
|
||||||
{block subtabs}
|
{block subtabs}
|
||||||
@ -6,34 +6,11 @@
|
|||||||
<a href="{url 'IDF_Views_Project::home', array($project.shortname)}">{trans 'Welcome'}</a> | {trans 'Updates'}{superblock}
|
<a href="{url 'IDF_Views_Project::home', array($project.shortname)}">{trans 'Welcome'}</a> | {trans 'Updates'}{superblock}
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block body}
|
{block body}
|
||||||
|
|
||||||
|
|
||||||
{$timeline.render}
|
{$timeline.render}
|
||||||
|
|
||||||
{*
|
|
||||||
<table summary="" class="tree-list">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>{trans 'Age'}</th>
|
|
||||||
<th>{trans 'Change'}</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{foreach $timeline as $item}
|
|
||||||
<tr class="log">
|
|
||||||
<td>{$item.creation_dtime|dateago:"wihtout"}</td>
|
|
||||||
<td>{timeline $item, $request}</td>
|
|
||||||
</tr>
|
|
||||||
{/foreach}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
*}
|
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{block context}
|
{block context}
|
||||||
{if count($downloads) > 0}
|
{if count($downloads) > 0}
|
||||||
<p><strong>{trans 'Featured Downloads'}</strong><br />
|
<p><strong>{trans 'Featured Downloads'}</strong><br />
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base-simple.html"}
|
{extends "idf/base-simple.html"}
|
||||||
{block body}
|
{block body}
|
||||||
{if $form.errors}
|
{if $form.errors}
|
||||||
<div class="px-message-error">
|
<div class="px-message-error">
|
||||||
@ -61,5 +61,5 @@
|
|||||||
{block javascript}<script type="text/javascript">
|
{block javascript}<script type="text/javascript">
|
||||||
document.getElementById('id_first_name').focus()
|
document.getElementById('id_first_name').focus()
|
||||||
</script>
|
</script>
|
||||||
{include 'issues/js-autocomplete.html'}{/block}
|
{/block}
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base-simple.html"}
|
{extends "idf/base-simple.html"}
|
||||||
{block body}
|
{block body}
|
||||||
{if $form.errors}
|
{if $form.errors}
|
||||||
<div class="px-message-error">
|
<div class="px-message-error">
|
||||||
@ -53,5 +53,5 @@
|
|||||||
{block javascript}<script type="text/javascript">
|
{block javascript}<script type="text/javascript">
|
||||||
document.getElementById('id_login').focus()
|
document.getElementById('id_login').focus()
|
||||||
</script>
|
</script>
|
||||||
{include 'issues/js-autocomplete.html'}{/block}
|
{/block}
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base-simple.html"}
|
{extends "idf/base-simple.html"}
|
||||||
{block body}
|
{block body}
|
||||||
{if $form.errors}
|
{if $form.errors}
|
||||||
<div class="px-message-error">
|
<div class="px-message-error">
|
||||||
@ -36,5 +36,5 @@
|
|||||||
{block javascript}<script type="text/javascript">
|
{block javascript}<script type="text/javascript">
|
||||||
document.getElementById('id_key').focus()
|
document.getElementById('id_key').focus()
|
||||||
</script>
|
</script>
|
||||||
{include 'issues/js-autocomplete.html'}{/block}
|
{/block}
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base.html"}
|
{extends "idf/base.html"}
|
||||||
{block tabsource} class="active"{/block}
|
{block tabsource} class="active"{/block}
|
||||||
{block subtabs}
|
{block subtabs}
|
||||||
<div id="sub-tabs">
|
<div id="sub-tabs">
|
@ -1,4 +1,4 @@
|
|||||||
{extends "source/base.html"}
|
{extends "idf/source/base.html"}
|
||||||
{block docclass}yui-t1{assign $inChangeLog=true}{/block}
|
{block docclass}yui-t1{assign $inChangeLog=true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
<table summary="" class="tree-list">
|
<table summary="" class="tree-list">
|
@ -1,4 +1,4 @@
|
|||||||
{extends "source/base.html"}
|
{extends "idf/source/base.html"}
|
||||||
{block extraheader}<link rel="stylesheet" type="text/css" href="{media '/idf/css/prettify.css'}" />{/block}
|
{block extraheader}<link rel="stylesheet" type="text/css" href="{media '/idf/css/prettify.css'}" />{/block}
|
||||||
{block docclass}yui-t1{assign $inCommit=true}{/block}
|
{block docclass}yui-t1{assign $inCommit=true}{/block}
|
||||||
{block body}
|
{block body}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "source/base.html"}
|
{extends "idf/source/base.html"}
|
||||||
{block extraheader}<link rel="stylesheet" type="text/css" href="{media '/idf/css/prettify.css'}" />{/block}
|
{block extraheader}<link rel="stylesheet" type="text/css" href="{media '/idf/css/prettify.css'}" />{/block}
|
||||||
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
|
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
|
||||||
{block body}
|
{block body}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "source/base.html"}
|
{extends "idf/source/base.html"}
|
||||||
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
|
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
<h2 class="top"><a href="{url 'IDF_Views_Source::treeBase', array($project.shortname, $commit)}">{trans 'Root'}</a><span class="sep">/</span>{if $breadcrumb}{$breadcrumb|safe}{/if}</h2>
|
<h2 class="top"><a href="{url 'IDF_Views_Source::treeBase', array($project.shortname, $commit)}">{trans 'Root'}</a><span class="sep">/</span>{if $breadcrumb}{$breadcrumb|safe}{/if}</h2>
|
@ -1,4 +1,4 @@
|
|||||||
{extends "source/base.html"}
|
{extends "idf/source/base.html"}
|
||||||
{block extraheader}<link rel="stylesheet" type="text/css" href="{media '/idf/css/prettify.css'}" />{/block}
|
{block extraheader}<link rel="stylesheet" type="text/css" href="{media '/idf/css/prettify.css'}" />{/block}
|
||||||
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
|
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
|
||||||
{block body}
|
{block body}
|
@ -1,4 +1,4 @@
|
|||||||
{extends "source/base.html"}
|
{extends "idf/source/base.html"}
|
||||||
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
|
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
|
||||||
{block body}
|
{block body}
|
||||||
<h2 class="top"><a href="{url 'IDF_Views_Source::treeBase', array($project.shortname, $commit)}">{trans 'Root'}</a><span class="sep">/</span>{if $breadcrumb}{$breadcrumb|safe}{/if}</h2>
|
<h2 class="top"><a href="{url 'IDF_Views_Source::treeBase', array($project.shortname, $commit)}">{trans 'Root'}</a><span class="sep">/</span>{if $breadcrumb}{$breadcrumb|safe}{/if}</h2>
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base-simple.html"}
|
{extends "idf/base-simple.html"}
|
||||||
{block body}
|
{block body}
|
||||||
{if $form.errors}
|
{if $form.errors}
|
||||||
<div class="px-message-error">
|
<div class="px-message-error">
|
@ -1,4 +1,4 @@
|
|||||||
{extends "base-simple.html"}
|
{extends "idf/base-simple.html"}
|
||||||
{block body}
|
{block body}
|
||||||
<table class="form" summary="">
|
<table class="form" summary="">
|
||||||
<tr>
|
<tr>
|
Loading…
Reference in New Issue
Block a user