From 6534f07ea016f39f7422c65c15e707f64dd66d0b Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Tue, 5 Apr 2016 15:17:49 +0200 Subject: [PATCH] [databases] Fix de-collapsing of protocol panels --- beat/web/databases/templates/databases/view.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/beat/web/databases/templates/databases/view.html b/beat/web/databases/templates/databases/view.html index 005007b43..688b77cb0 100644 --- a/beat/web/databases/templates/databases/view.html +++ b/beat/web/databases/templates/databases/view.html @@ -2,21 +2,21 @@ {% comment %} * Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/ * Contact: beat.support@idiap.ch - * + * * This file is part of the beat.web module of the BEAT platform. - * + * * Commercial License Usage * Licensees holding valid commercial BEAT licenses may use this file in * accordance with the terms contained in a written agreement between you * and Idiap. For further information contact tto@idiap.ch - * + * * Alternatively, this file may be used under the terms of the GNU Affero * Public License version 3 as published by the Free Software and appearing * in the file LICENSE.AGPL included in the packaging of this file. * The BEAT platform is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. - * + * * You should have received a copy of the GNU Affero Public License along * with the BEAT platform. If not, see http://www.gnu.org/licenses/. {% endcomment %} @@ -80,7 +80,7 @@ <ul id="object-tabs" class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"><a {% if not database.description %}title="No documentation available" {% endif %} href="#doc" role="tab" data-toggle="tab" aria-controls="doc">Documentation{% if not database.description %} <i class="fa fa-warning"></i>{% endif %}</a></li> - <li role="presentation"><a href="#protocols" role="tab" data-toggle="tab" aria-controls="protocols">Protocols <span class="badge">{{ database.protocols.count }}</span></a></li> + <li role="presentation"><a href="#protos" role="tab" data-toggle="tab" aria-controls="protos">Protocols <span class="badge">{{ database.protocols.count }}</span></a></li> <li role="presentation"><a href="#sharing" role="tab" data-toggle="tab" aria-controls="sharing">Sharing</a></li> </ul> @@ -92,11 +92,11 @@ {% endif %} </div> - <div role="tabpanel" class="tab-pane" id="protocols"> + <div role="tabpanel" class="tab-pane" id="protos"> <div class="panel-group" id="protocol-accordion" role="tablist" aria-multiselectable="true"> {% for protocol in database.protocols.all %} - {% with protocol.set_template_basename as name %} + {% with protocol.name as name %} <div class="panel panel-default"> <div class="panel-heading" role="tab" id="heading_{{ name }}"> <h4 class="panel-title"> -- GitLab