Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Tremblay <bentremblay@benoit-tremblays-macbook-pro.local>2009-10-21 01:16:40 (GMT)
committer Benoit Tremblay <bentremblay@benoit-tremblays-macbook-pro.local>2009-10-21 01:16:40 (GMT)
commit8572feb14a7d38ef0d5a08f731a5b44856d799f9 (patch)
treeb2d20a5c9228f3cd8c7e7617d126a221a66c9494
parentbe90c93f29353ddcb7dbea685ff27904548f3674 (diff)
Small UI changes for Tutorius
-rw-r--r--site/app/views/elements/amo2009/teaser_collections.thtml24
-rw-r--r--site/app/views/elements/headers/page_header_full.thtml15
2 files changed, 24 insertions, 15 deletions
diff --git a/site/app/views/elements/amo2009/teaser_collections.thtml b/site/app/views/elements/amo2009/teaser_collections.thtml
index 1cae056..241af64 100644
--- a/site/app/views/elements/amo2009/teaser_collections.thtml
+++ b/site/app/views/elements/amo2009/teaser_collections.thtml
@@ -52,6 +52,28 @@
</div>
<ol class="teaser-items">
<li id="t-introduction">
+
+ <?php if(APP_SHORTNAME == 'tutorius') {?>
+ <h2>What is Tutorius?</h2>
+
+ <div class="column-wrapper">
+ <div class="first column">
+ <h3><img src="<?=$html->url('/img/amo2009/illustrations/extras.gif', null, false, false)?>" alt="Extras" /></h3>
+ <p><?=___('<strong>Over 5000 free extras</strong> that let you customize and extend Firefox to meet your needs.')?></p>
+ </div>
+
+ <div class="column">
+ <h3><img src="<?=$html->url('/img/amo2009/illustrations/themes.gif', null, false, false)?>" alt="Themes" /></h3>
+ <p><?=___('Toolbars, themes and search providers that <strong>help you perform common tasks.</strong>')?></p>
+ </div>
+
+ <div class="column">
+ <h3><img src="<?=$html->url('/img/amo2009/illustrations/install.gif', null, false, false)?>" alt="Install" /></h3>
+ <p><?=___('<strong>Easy to install</strong> and keep up-to-date.')?></p>
+ </div>
+ </div>
+
+ <?php } else {?>
<h2><?=___('What are Add-ons?')?></h2>
<div class="column-wrapper">
@@ -70,7 +92,7 @@
<p><?=___('<strong>Easy to install</strong> and keep up-to-date.')?></p>
</div>
</div>
-
+ <?php } ?>
</li>
<?php foreach($teaser_collections_categories as $id => $tc): ?>
diff --git a/site/app/views/elements/headers/page_header_full.thtml b/site/app/views/elements/headers/page_header_full.thtml
index b5f8ea8..de623a3 100644
--- a/site/app/views/elements/headers/page_header_full.thtml
+++ b/site/app/views/elements/headers/page_header_full.thtml
@@ -95,20 +95,7 @@
<div id="aux-nav" role="navigation">
<ul id="other-apps" class="change" title="<?=___('Find add-ons for other applications');?>">
<li>
- <a href="#" class="controller"><?=___('Other Applications')?></a>
- <ul><?php
- global $app_shortnames, $app_prettynames;
- $applist = array();
- foreach (array_keys($app_shortnames) as $_app) {
- if ($app_shortnames[$_app] == APP_ID)
- continue; // don't show current app
- ?>
- <li id="app-<?=$_app?>" class="<?=$_app?>">
- <a href="<?=$html->url("/$_app/",false,true,false)?>"><?=$app_prettynames[$_app]?></a>
- </li>
- <?php
- }
- ?></ul>
+
</li>
</ul>