]> git.0d.be Git - django-panik-nonstop.git/blobdiff - nonstop/templates/nonstop/search.html
add button to add tracks "en masse" to zone
[django-panik-nonstop.git] / nonstop / templates / nonstop / search.html
index 970d51aaa69c43ffb87fe759003baaf56372a5c2..3d7490e4ad67f88fc5767245d58ef925dfc16585 100644 (file)
         {% endif %}
       </span>
       <span class="download">
-        <a class="button" href="csv?{{ qs }}" download="nonstop.csv">CSV</a>
+        <a class="button" href="csv?{{ qs }}" download="nonstop.csv">Export to CSV</a>
+        {% if qs and perms.nonstop.add_track %}
+          -
+          <a class="button" href="add-to-zone?{{ qs }}" data-popup>{% trans "Add tracks to zone" %}</a>
+        {% endif %}
       </span>
     </div>
   {% endif %}