GRN2-166: Fixed issue with language fallback not working (Fixed #593) (#602)

* Fixed issue with language fallback not working

* Rubocop fixes
This commit is contained in:
farhatahmad
2019-07-08 09:02:34 -04:00
committed by Jesus Federico
parent e153528fcc
commit 7828c15286
5 changed files with 14 additions and 10 deletions

View File

@ -28,7 +28,11 @@
</td>
<td>
<div id="room-name">
<h4 contenteditable="false" class="m-0 force-text-normal" ><%= room.name %></h4>
<% if room == current_user.main_room %>
<h4 contenteditable="false" class="m-0 force-text-normal" ><%= t("home_room") %></h4>
<% else %>
<h4 contenteditable="false" class="m-0 force-text-normal" ><%= room.name %></h4>
<% end %>
</div>
<div id="room-name-editable" style="display: none">
<input id="room-name-editable-input" class="form-control input-sm w-100 h-4" value="<%= room.name %>">