Added the FAQ view.

This commit is contained in:
Loic d'Anterroches 2008-08-02 21:58:00 +02:00
parent 4119a160aa
commit a105f971c2
2 changed files with 36 additions and 0 deletions

View File

@ -163,4 +163,18 @@ class IDF_Views
'form' => $form),
$request);
}
/**
* FAQ.
*/
public function faq($request, $match)
{
$title = __('Here to Help You!');
return Pluf_Shortcuts_RenderToResponse('faq.html',
array(
'page_title' => $title,
),
$request);
}
}

View File

@ -0,0 +1,22 @@
{extends "base-simple.html"}
{block docclass}yui-t1{/block}
{block body}
<ul>
<li><a href="#q-keyboard">What are the keyboard shortcuts?</a></li>
</ul>
<h2 id="q-keyboard">What are the keyboard shortcuts?</h2>
<p>If you are in a project, you have the following shortcuts:</p>
<ul>
<li><kbd>Shift+a</kbd>: Create a new issue.</li>
<li><kbd>Shift+r</kbd>: List of recently submitted issues.</li>
<li><kbd>Shift+m</kbd>: The issues you submitted.</li>
<li><kbd>Shift+w</kbd>: The issues assigned to you.</li>
</ul>
{/block}
{block context}
<p>{trans 'Here we are, just to help you.'}</p>
{/block}