Bug #1160: Remove publish/unpublish from action buttons in template tab

(cherry picked from commit 68fd07d333eff379e0a599027e23b35129128bdf)
This commit is contained in:
Hector Sanjuan authored and Ruben S. Montero committed 2012-03-12 21:50:08 +01:00
1 parent 77355a68ac
commit 7fcf0bc305
1 file changed
+1 -13
@@ -801,19 +801,7 @@ var template_buttons = {
tip: tr("Select the new group")+":",
condition: mustBeAdmin
},
"action_list" : {
type: "select",
actions: {
"Template.publish" : {
type: "action",
text: tr("Publish")
},
"Template.unpublish" : {
type: "action",
text: tr("Unpublish")
},
}
},
"Template.delete" : {
type: "confirm",
text: tr("Delete")