Skip to content

Commit

Permalink
Record title, instead of room name, in the popup (#1924)
Browse files Browse the repository at this point in the history
* Update _public_recording_row.html.erb

* Update _recording_row.html.erb
  • Loading branch information
hiroshisuga committed Jul 29, 2020
1 parent 2c4a497 commit d90ae79
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions app/views/shared/components/_public_recording_row.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
<tr>
<td>
<div id="recording-title" class="edit_hover_class" data-recordid="<%= recording[:recordID] %>" data-room-uid="<%= room_uid_from_bbb(recording[:meetingID]) %>" data-path="<%= rename_recording_path(meetingID: recording[:meetingID], record_id: recording[:recordID]) %>">
<span id="recording-text" title="<%= recording[:name] %>">
<% if recording[:metadata][:name] %>
<% if recording[:metadata][:name] %>
<span id="recording-text" title="<%= recording[:metadata][:name] %>">
<%= recording[:metadata][:name] %>
<% else %>
<% else %>
<span id="recording-text" title="<%= recording[:name] %>">
<%= recording[:name] %>
<% end %>
</span>
<% end %>
</span>
</div>
<div class="small text-muted">
<%= t("recording.recorded_on", date: recording_date(recording[:startTime])) %>
Expand Down
11 changes: 6 additions & 5 deletions app/views/shared/components/_recording_row.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
<tr>
<td>
<div id="recording-title" class="edit_hover_class" data-recordid="<%= recording[:recordID] %>" data-room-uid="<%= room_uid_from_bbb(recording[:meetingID]) %>" data-path="<%= rename_recording_path(meetingID: recording[:meetingID], record_id: recording[:recordID]) %>">
<span id='recording-text' title="<%= recording[:name] %>">
<% if recording[:metadata][:name] %>
<% if recording[:metadata][:name] %>
<span id='recording-text' title="<%= recording[:metadata][:name] %>">
<%= recording[:metadata][:name] %>
<% else %>
<% else %>
<span id='recording-text' title="<%= recording[:name] %>">
<%= recording[:name] %>
<% end %>
</span>
<% end %>
</span>
<a><i id="edit-record" class="fa fa-edit align-top ml-2" data-edit-recordid="<%= recording[:recordID] %>"></i></a>
</div>
<div class="small text-muted">
Expand Down

0 comments on commit d90ae79

Please sign in to comment.