diff options
author | pjotrp | 2015-05-12 12:06:59 -0500 |
---|---|---|
committer | pjotrp | 2015-05-12 12:06:59 -0500 |
commit | f228118ac112f3ebab5faf41ac9e1bc2a6e2c0fa (patch) | |
tree | 32abd6c003bec6e883f0cf63c37c711b30cdeb3f /wqflask/wqflask/templates | |
parent | 300f0defa19f20b294bfde2931fb9eaa77d918fd (diff) | |
parent | 2eeaf2f6df9deb3f89db0b5821d784b93eb4bc36 (diff) | |
download | genenetwork2-f228118ac112f3ebab5faf41ac9e1bc2a6e2c0fa.tar.gz |
Merge branch 'master' of github.com:genenetwork/genenetwork2
Diffstat (limited to 'wqflask/wqflask/templates')
-rwxr-xr-x | wqflask/wqflask/templates/show_trait.html | 10 | ||||
-rwxr-xr-x | wqflask/wqflask/templates/show_trait_details.html | 6 |
2 files changed, 12 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/show_trait.html b/wqflask/wqflask/templates/show_trait.html index a1723ef8..d6f22f41 100755 --- a/wqflask/wqflask/templates/show_trait.html +++ b/wqflask/wqflask/templates/show_trait.html @@ -13,8 +13,12 @@ {% endblock %} {% block content %} <!-- Start of body --> - {{ header("{}".format(this_trait.symbol), - '{}: {}'.format(this_trait.name, this_trait.description_fmt)) }} + {% if this_trait.dataset.type != 'Geno' %} + {{ header("{}".format(this_trait.name_header_fmt), + '{}: {}'.format(this_trait.name, this_trait.description_fmt)) }} + {% else %} + {{ header("{}".format(this_trait.name_header_fmt)) }} + {% endif %} <form method="post" action="/corr_compute" name="trait_page" id="trait_data_form" @@ -31,7 +35,7 @@ <div class="page-header"> <h1>{{ dataset.group.species.capitalize() }} - {{ dataset.group.name }} - - {{ this_trait.symbol }} + {{ this_trait.name_header_fmt }} </h1> </div> diff --git a/wqflask/wqflask/templates/show_trait_details.html b/wqflask/wqflask/templates/show_trait_details.html index 0afac1f7..e1780e42 100755 --- a/wqflask/wqflask/templates/show_trait_details.html +++ b/wqflask/wqflask/templates/show_trait_details.html @@ -1,9 +1,13 @@ <dl class="dl-horizontal"> + {% if this_trait.dataset.type == 'ProbeSet' %} <dt>Aliases</dt> <dd>{{ this_trait.alias_fmt }}</dd> + {% endif %} + {% if this_trait.dataset.type != 'Publish' %} <dt>Location</dt> <dd>{{ this_trait.location_fmt }}</dd> + {% endif %} <dt>Database</dt> <dd> @@ -16,7 +20,7 @@ <dt> <a href="/blatInfo.html" target="_blank" title="Values higher than 2 for the specificity are good"> - BLAT Specifity + BLAT Specificity </a> </dt> <dd>{{ "%0.3f" | format(this_trait.probe_set_specificity|float) }}</dd> |