Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Raintale GUI's Download button #27

Closed
shawnmjones opened this issue Aug 10, 2021 · 1 comment
Closed

Remove Raintale GUI's Download button #27

shawnmjones opened this issue Aug 10, 2021 · 1 comment
Assignees

Comments

@shawnmjones
Copy link
Member

Wooey has a confusing setup with respect to Downloads. We will be implementing a "View Story" button in #26 which will make the existing Download button redundant. We should remove the Download button so that it does not confuse users.

The code to do so is here:

<div class="btn-group status-completed-toggle">
<a href="{{ job_info.archives.0.url }}" role="button" class="btn btn-primary">
<span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span> {% trans "Download" %}
</a>
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<span class="caret"></span>
<span class="sr-only">{% trans "Toggle Dropdown" %}</span>
</button>
<ul class="dropdown-menu" role="menu">
{% for archive in job_info.archives %}
<li><a href="{{ archive.url }}"><span class="glyphicon glyphicon-compressed"></span> {% if archive.url|endswith:"zip" %}.zip{% else %}.tar.gz{% endif %}</a></li>
{% endfor %}
</ul>
</div>

@himarshaj
Copy link
Member

In a review during Monday's meeting, we decide to go in a different direction. Opened #34.

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants