From 36f29dfbfd43c2e344a9a8c89fdacd9cb506ede4 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Fri, 2 Jan 2009 13:34:09 +0100 Subject: [PATCH] Removed the dead screen of the administration as not used for the moment. The first tab of the administration was not used, so I removed it to remove the clutter, it will be reactivated when it will be possible to perform forge configuration from there. --- src/IDF/conf/urls.php | 6 ------ src/IDF/templates/idf/base-simple.html | 2 +- src/IDF/templates/idf/base.html | 2 +- src/IDF/templates/idf/gadmin/base.html | 1 - 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/IDF/conf/urls.php b/src/IDF/conf/urls.php index d9cfcc2..969151f 100644 --- a/src/IDF/conf/urls.php +++ b/src/IDF/conf/urls.php @@ -393,12 +393,6 @@ $ctl[] = array('regex' => '#^/api/p/([\-\w]+)/issues/create/$#', // ---------- FORGE ADMIN -------------------------------- -$ctl[] = array('regex' => '#^/admin/$#', - 'base' => $base, - 'priority' => 4, - 'model' => 'IDF_Views_Admin', - 'method' => 'home'); - $ctl[] = array('regex' => '#^/admin/projects/$#', 'base' => $base, 'priority' => 4, diff --git a/src/IDF/templates/idf/base-simple.html b/src/IDF/templates/idf/base-simple.html index 2da5bed..adec78a 100644 --- a/src/IDF/templates/idf/base-simple.html +++ b/src/IDF/templates/idf/base-simple.html @@ -35,7 +35,7 @@

{if !$user.isAnonymous()}{aurl 'url', 'idf_dashboard'}{blocktrans}Welcome, {$user}.{/blocktrans} {trans 'Sign Out'}{else}{trans 'Sign in or create your account'}{/if} - | {trans 'Project List'} {if $isAdmin}| {trans 'Administer'}{/if} + | {trans 'Project List'} {if $isAdmin}| {trans 'Administer'}{/if} | {trans 'Help'}

{block title}{$page_title}{/block}

diff --git a/src/IDF/templates/idf/base.html b/src/IDF/templates/idf/base.html index cc6137b..39c3dc9 100644 --- a/src/IDF/templates/idf/base.html +++ b/src/IDF/templates/idf/base.html @@ -37,7 +37,7 @@

{if !$user.isAnonymous()}{aurl 'url', 'idf_dashboard'}{blocktrans}Welcome, {$user}.{/blocktrans} {trans 'Sign Out'}{else}{trans 'Sign in or create your account'}{/if} {if $project} | {trans 'Project List'}{/if} -{if $isAdmin}| {trans 'Administer'}{/if} +{if $isAdmin}| {trans 'Administer'}{/if} | {trans 'Help'}