Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b8834bba
Commit
b8834bba
authored
Aug 05, 2019
by
Donald Cook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug from extra parenthesis
parent
c52721aa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
app/assets/javascripts/notes/stores/utils.js
app/assets/javascripts/notes/stores/utils.js
+1
-1
app/assets/javascripts/right_sidebar.js
app/assets/javascripts/right_sidebar.js
+6
-4
No files found.
app/assets/javascripts/notes/stores/utils.js
View file @
b8834bba
...
@@ -21,7 +21,7 @@ export const getQuickActionText = note => {
...
@@ -21,7 +21,7 @@ export const getQuickActionText = note => {
text
=
__
(
'
Applying multiple commands
'
);
text
=
__
(
'
Applying multiple commands
'
);
}
else
{
}
else
{
const
commandDescription
=
executedCommands
[
0
].
description
.
toLowerCase
();
const
commandDescription
=
executedCommands
[
0
].
description
.
toLowerCase
();
text
=
sprintf
(
__
(
'
Applying command to %{commandDescription}
'
,
{
commandDescription
})
);
text
=
sprintf
(
__
(
'
Applying command to %{commandDescription}
'
),
{
commandDescription
}
);
}
}
}
}
...
...
app/assets/javascripts/right_sidebar.js
View file @
b8834bba
...
@@ -101,10 +101,12 @@ Sidebar.prototype.toggleTodo = function(e) {
...
@@ -101,10 +101,12 @@ Sidebar.prototype.toggleTodo = function(e) {
this
.
todoUpdateDone
(
data
);
this
.
todoUpdateDone
(
data
);
})
})
.
catch
(()
=>
.
catch
(()
=>
flash
(
sprintf
(
__
(
'
There was an error %{message} todo.
'
)),
{
flash
(
sprintf
(
__
(
'
There was an error %{message} todo.
'
),
{
message
:
message
:
ajaxType
===
'
post
'
?
s__
(
'
RightSidebar|adding a
'
)
:
s__
(
'
RightSidebar|deleting the
'
),
ajaxType
===
'
post
'
?
s__
(
'
RightSidebar|adding a
'
)
:
s__
(
'
RightSidebar|deleting the
'
),
}),
}),
),
);
);
};
};
...
...
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