Commit 0bb60732 by Kálmán Viktor

dashboard: rename connect cmd files

parent d0a9b4e1
...@@ -273,7 +273,8 @@ class ConnectCommandListTable(Table): ...@@ -273,7 +273,8 @@ class ConnectCommandListTable(Table):
actions = TemplateColumn( actions = TemplateColumn(
verbose_name=_("Actions"), verbose_name=_("Actions"),
template_name="dashboard/command-list/column-command-actions.html", template_name=("dashboard/connect-command-list/column-command"
"-actions.html"),
orderable=False, orderable=False,
) )
......
...@@ -3183,7 +3183,7 @@ class UserKeyCreate(LoginRequiredMixin, SuccessMessageMixin, CreateView): ...@@ -3183,7 +3183,7 @@ class UserKeyCreate(LoginRequiredMixin, SuccessMessageMixin, CreateView):
class ConnectCommandDetail(LoginRequiredMixin, SuccessMessageMixin, class ConnectCommandDetail(LoginRequiredMixin, SuccessMessageMixin,
UpdateView): UpdateView):
model = ConnectCommand model = ConnectCommand
template_name = "dashboard/connectcommand-edit.html" template_name = "dashboard/connect-command-edit.html"
form_class = ConnectCommandForm form_class = ConnectCommandForm
success_message = _("Successfully modified command template.") success_message = _("Successfully modified command template.")
...@@ -3239,7 +3239,7 @@ class ConnectCommandCreate(LoginRequiredMixin, SuccessMessageMixin, ...@@ -3239,7 +3239,7 @@ class ConnectCommandCreate(LoginRequiredMixin, SuccessMessageMixin,
CreateView): CreateView):
model = ConnectCommand model = ConnectCommand
form_class = ConnectCommandForm form_class = ConnectCommandForm
template_name = "dashboard/connectcommand-create.html" template_name = "dashboard/connect-command-create.html"
success_message = _("Successfully created a new command template.") success_message = _("Successfully created a new command template.")
def get_success_url(self): def get_success_url(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment