Merge pull request #34407 from optimumtact/anturredtextsmyevent

Make traitor panel clearer when toggling completion state
This commit is contained in:
Jordan Brown
2018-01-14 00:21:43 -05:00
committed by CitadelStationBot
parent b8a93b6ca1
commit f7d70d1454
+1 -1
View File
@@ -745,7 +745,7 @@
else
var/obj_count = 1
for(var/datum/objective/objective in objectives)
out += "<B>[obj_count]</B>: [objective.explanation_text] <a href='?src=[REF(src)];obj_edit=[REF(objective)]'>Edit</a> <a href='?src=[REF(src)];obj_delete=[REF(objective)]'>Delete</a> <a href='?src=[REF(src)];obj_completed=[REF(objective)]'><font color=[objective.completed ? "green" : "red"]>Toggle Completion</font></a><br>"
out += "<B>[obj_count]</B>: [objective.explanation_text] <a href='?src=[REF(src)];obj_edit=[REF(objective)]'>Edit</a> <a href='?src=[REF(src)];obj_delete=[REF(objective)]'>Delete</a> <a href='?src=[REF(src)];obj_completed=[REF(objective)]'><font color=[objective.completed ? "green" : "red"]>[objective.completed ? "Mark as incomplete" : "Mark as complete"]</font></a><br>"
obj_count++
out += "<a href='?src=[REF(src)];obj_add=1'>Add objective</a><br><br>"