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
08c57ec9
Commit
08c57ec9
authored
Jan 24, 2017
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HAMLLint: Fix `UnnecessaryInterpolation` and `UnnecessaryStringOutput` offences correctly
parent
cd232bf7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/admin/broadcast_messages/_form.html.haml
app/views/admin/broadcast_messages/_form.html.haml
+1
-1
app/views/projects/deployments/_deployment.html.haml
app/views/projects/deployments/_deployment.html.haml
+2
-2
No files found.
app/views/admin/broadcast_messages/_form.html.haml
View file @
08c57ec9
...
...
@@ -4,7 +4,7 @@
-
if
@broadcast_message
.
message
.
present?
=
render_broadcast_message
(
@broadcast_message
)
-
else
=
(
"Your message here"
)
Your message here
=
form_for
[
:admin
,
@broadcast_message
],
html:
{
class:
'broadcast-message-form form-horizontal js-quick-submit js-requires-input'
}
do
|
f
|
=
form_errors
(
@broadcast_message
)
...
...
app/views/projects/deployments/_deployment.html.haml
View file @
08c57ec9
%tr
.deployment
%td
%strong
=
(
"#
#{
deployment
.
iid
}
"
)
%strong
##{deployment.iid}
%td
=
render
'projects/deployments/commit'
,
deployment:
deployment
...
...
@@ -8,7 +8,7 @@
%td
.build-column
-
if
deployment
.
deployable
=
link_to
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
deployment
.
deployable
],
class:
'build-link'
do
=
(
"
#{
deployment
.
deployable
.
name
}
(#
#{
deployment
.
deployable
.
id
}
)"
)
#{
deployment
.
deployable
.
name
}
(##{deployment.deployable.id}
)
-
if
deployment
.
user
by
=
user_avatar
(
user:
deployment
.
user
,
size:
20
)
...
...
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