mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 21:08:51 +00:00
@@ -43,8 +43,8 @@
|
||||
' ng-click="clickBlock({clickEvent: $event, clickComponent: block.component})">',
|
||||
// Categories color stripes
|
||||
' <div class="sg-category" ng-repeat="category in '+p+'block.component.categories"',
|
||||
' ng-class="\'bg-category\' + category"',
|
||||
' ng-style="{ right: ($index * 3) + \'px\' }"></div>',
|
||||
' ng-class="'+p+'(\'bg-category\' + category)"',
|
||||
' ng-style="'+p+'{ right: ($index * 3) + \'px\' }"></div>',
|
||||
' <div class="text">',
|
||||
// Priority
|
||||
' <span ng-show="'+p+'block.component.c_priority" class="sg-priority">{{'+p+'block.component.c_priority}}</span>',
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
// Add a class while dragging
|
||||
' ng-class="{\'sg-event--dragging\': block.dragging}"',
|
||||
' ng-click="clickBlock({clickEvent: $event, clickComponent: block.component})">',
|
||||
// Categories color stripes
|
||||
' <div class="sg-category" ng-repeat="category in '+p+'block.component.categories"',
|
||||
' ng-class="'+p+'(\'bg-category\' + category)"',
|
||||
' ng-style="'+p+'{ right: ($index * 3) + \'px\' }"></div>',
|
||||
' <span class="secondary" ng-if="'+p+'(!block.component.c_isallday && block.isFirst)">{{ '+p+'block.component.startHour }}</span>',
|
||||
// Priority
|
||||
' <span ng-show="'+p+'block.component.c_priority" class="sg-priority">{{'+p+'block.component.c_priority}}</span>',
|
||||
|
||||
Reference in New Issue
Block a user