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
0
Merge Requests
0
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
Boxiang Sun
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 @@
...
@@ -4,7 +4,7 @@
-
if
@broadcast_message
.
message
.
present?
-
if
@broadcast_message
.
message
.
present?
=
render_broadcast_message
(
@broadcast_message
)
=
render_broadcast_message
(
@broadcast_message
)
-
else
-
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_for
[
:admin
,
@broadcast_message
],
html:
{
class:
'broadcast-message-form form-horizontal js-quick-submit js-requires-input'
}
do
|
f
|
=
form_errors
(
@broadcast_message
)
=
form_errors
(
@broadcast_message
)
...
...
app/views/projects/deployments/_deployment.html.haml
View file @
08c57ec9
%tr
.deployment
%tr
.deployment
%td
%td
%strong
=
(
"#
#{
deployment
.
iid
}
"
)
%strong
##{deployment.iid}
%td
%td
=
render
'projects/deployments/commit'
,
deployment:
deployment
=
render
'projects/deployments/commit'
,
deployment:
deployment
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
%td
.build-column
%td
.build-column
-
if
deployment
.
deployable
-
if
deployment
.
deployable
=
link_to
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
deployment
.
deployable
],
class:
'build-link'
do
=
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
-
if
deployment
.
user
by
by
=
user_avatar
(
user:
deployment
.
user
,
size:
20
)
=
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