Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Greenlight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arbeitsgruppe Hardwarenahe IT-Systeme
Greenlight
Commits
0e8e188e
Unverified
Commit
0e8e188e
authored
Jan 18, 2021
by
Ahmad Farhat
Committed by
GitHub
Jan 18, 2021
Browse files
Options
Downloads
Patches
Plain Diff
Fixed room name wrapping issues (#2439)
parent
cc78035f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/views/rooms/components/_room_block.html.erb
+1
-1
1 addition, 1 deletion
app/views/rooms/components/_room_block.html.erb
app/views/rooms/show.html.erb
+1
-1
1 addition, 1 deletion
app/views/rooms/show.html.erb
with
2 additions
and
2 deletions
app/views/rooms/components/_room_block.html.erb
+
1
−
1
View file @
0e8e188e
...
...
@@ -28,7 +28,7 @@
</td>
<td>
<div>
<h4
contenteditable=
"false"
class=
"m-0 force-text-normal room-name-text"
>
<%=
room
.
name
%>
</h4>
<h4
contenteditable=
"false"
class=
"m-0 force-text-normal room-name-text
text-break
"
>
<%=
room
.
name
%>
</h4>
</div>
<div
style=
"display: none"
>
<input
class=
"form-control input-sm w-100 h-4 room-name-editable"
value=
"
<%=
room
.
name
%>
"
>
...
...
This diff is collapsed.
Click to expand it.
app/views/rooms/show.html.erb
+
1
−
1
View file @
0e8e188e
...
...
@@ -24,7 +24,7 @@
<div
class=
"row pt-7 pt-sm-9 mb-7"
>
<div
class=
"col-lg-9 col-sm-12"
>
<div
id=
"room-title"
class=
"display-3 form-inline
<%=
'edit_hover_class'
if
current_user
.
main_room
!=
@room
%>
"
data-path=
"
<%=
update_settings_path
(
@room
)
%>
"
>
<h1
contenteditable=
false
id=
"user-text"
class=
"display-3 text-left mb-3 font-weight-400"
>
<%=
title
(
@room
.
name
)
%>
</h1>
<h1
contenteditable=
false
id=
"user-text"
class=
"display-3 text-left mb-3 font-weight-400
text-break
"
>
<%=
title
(
@room
.
name
)
%>
</h1>
<%
if
current_user
.
main_room
==
@room
%>
<a
class=
"disable-click"
><i
class=
"fas fa-home align-top home-indicator ml-2"
></i></a>
<%
else
%>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment