Removes 'release all' buttons from ORM

This commit is contained in:
RandomMarine
2018-03-04 13:26:08 -08:00
committed by CitadelStationBot
parent 7f6edd82d0
commit db98a60274
2 changed files with 15 additions and 24 deletions

View File

@@ -257,9 +257,6 @@
if("Release")
if(check_access(inserted_id) || allowed(usr)) //Check the ID inside, otherwise check the user
if(params["id"] == "all")
materials.retrieve_all(get_step(src, output_dir))
else
var/mat_id = params["id"]
if(!materials.materials[mat_id])
return

View File

@@ -57,9 +57,6 @@
<section class="cell">
</section>
<section class="cell">
<ui-button class='center mineral' grid action='Release' params='{"id" : "all"}'>
Release All
</ui-button>
</section>
<section class="cell">
Ore Value
@@ -103,9 +100,6 @@
</ui-button>
</section>
<section class="cell" align='right'>
<ui-button class='center' grid action='SmeltAll' state={{ (amount >= 1) ? null : 'disabled'}} params='{ "id" : {{id}} }'>
Smelt All
</ui-button>
</section>
</section>
{{/each}}