Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0bb60732
authored
Sep 01, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: rename connect cmd files
parent
d0a9b4e1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
3 deletions
+4
-3
circle/dashboard/tables.py
+2
-1
circle/dashboard/templates/dashboard/connect-command-create.html
+0
-0
circle/dashboard/templates/dashboard/connect-command-edit.html
+0
-0
circle/dashboard/templates/dashboard/connect-command-list/column-command-actions.html
+0
-0
circle/dashboard/views.py
+2
-2
No files found.
circle/dashboard/tables.py
View file @
0bb60732
...
...
@@ -273,7 +273,8 @@ class ConnectCommandListTable(Table):
actions
=
TemplateColumn
(
verbose_name
=
_
(
"Actions"
),
template_name
=
"dashboard/command-list/column-command-actions.html"
,
template_name
=
(
"dashboard/connect-command-list/column-command"
"-actions.html"
),
orderable
=
False
,
)
...
...
circle/dashboard/templates/dashboard/connectcommand-create.html
→
circle/dashboard/templates/dashboard/connect
-
command-create.html
View file @
0bb60732
File moved
circle/dashboard/templates/dashboard/connectcommand-edit.html
→
circle/dashboard/templates/dashboard/connect
-
command-edit.html
View file @
0bb60732
File moved
circle/dashboard/templates/dashboard/command-list/column-command-actions.html
→
circle/dashboard/templates/dashboard/co
nnect-co
mmand-list/column-command-actions.html
View file @
0bb60732
File moved
circle/dashboard/views.py
View file @
0bb60732
...
...
@@ -3183,7 +3183,7 @@ class UserKeyCreate(LoginRequiredMixin, SuccessMessageMixin, CreateView):
class
ConnectCommandDetail
(
LoginRequiredMixin
,
SuccessMessageMixin
,
UpdateView
):
model
=
ConnectCommand
template_name
=
"dashboard/connectcommand-edit.html"
template_name
=
"dashboard/connect
-
command-edit.html"
form_class
=
ConnectCommandForm
success_message
=
_
(
"Successfully modified command template."
)
...
...
@@ -3239,7 +3239,7 @@ class ConnectCommandCreate(LoginRequiredMixin, SuccessMessageMixin,
CreateView
):
model
=
ConnectCommand
form_class
=
ConnectCommandForm
template_name
=
"dashboard/connectcommand-create.html"
template_name
=
"dashboard/connect
-
command-create.html"
success_message
=
_
(
"Successfully created a new command template."
)
def
get_success_url
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment