Commit e95ad0d1 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

no param tabs if no parameters used

parent 93afa8d8
......@@ -30,7 +30,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<ul id="myTab" class="nav nav-tabs">
<li class="active"><a href="#results" data-toggle="tab">{block name=results_title} Results {/block}</a></li>
{if $analyse.params != ""}
<li><a href="#parameters" data-toggle="tab">{block name=params_title} Parameters {/block}</a></li>
{/if}
<li><a href="#downloads" data-toggle="tab">{block name=downloads_title} Downloads {/block}</a></li>
</ul>
......@@ -39,17 +41,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="tab-pane fade in active" id="results">
{block name=results}{/block}
</div>
{if $analyse.params != ""}
<div class="tab-pane fade" id="parameters">
{block name=params}
{if $analyse.params != ""}
{block name=params_content}
<ul>
<li class="parameter">{$analyse.params}</li>
</ul>
{/block}
{/if}
{/block}
</div>
{/if}
<div class="tab-pane fade" id="downloads">
{block name=download}
<p><ul>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment