mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
improved machine reservation tag display
This commit is contained in:
parent
434234c235
commit
670e9371d8
@ -751,8 +751,8 @@ Application.Controllers.controller "ReserveMachineController", ["$scope", "$stat
|
||||
if $scope.currentUser.role is 'admin' and event.tags.length > 0
|
||||
html = ''
|
||||
for tag in event.tags
|
||||
html += "<div class='fc-title'><span class='label label-success text-white' title='#{tag.name}'>#{tag.name}</span></div>"
|
||||
element.find('.fc-content').append(html)
|
||||
html += "<span class='label label-success text-white' title='#{tag.name}'>#{tag.name}</span>"
|
||||
element.find('.fc-time').append(html)
|
||||
return
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user