소스 검색

add details to list view for calendar

CauseFX 5 년 전
부모
커밋
cd2c4891ba
2개의 변경된 파일22개의 추가작업 그리고 1개의 파일을 삭제
  1. 22 1
      plugins/bower_components/calendar/dist/fullcalendar.js
  2. 0 0
      plugins/bower_components/calendar/dist/fullcalendar.min.js

+ 22 - 1
plugins/bower_components/calendar/dist/fullcalendar.js

@@ -14560,8 +14560,29 @@ var ListViewGrid = Grid.extend({
 		}
 		titleHtml =
 			'<span class="fc-title">' +
-				(htmlEscape(event.title || '') || '&nbsp;') + // we always want one line of height
+			(htmlEscape(event.title || '') || '&nbsp;') + // we always want one line of height
 			'</span>';
+		switch(event.imagetypeFilter){
+			case 'tv':
+				titleHtml = titleHtml + '<br/><small class="fc-title m-l-5 hidden-xs">' +
+					(htmlEscape(event.details.bottomTitle || '') || '&nbsp;') + // we always want one line of height
+					'</small>';
+				break;
+			case 'music':
+				titleHtml = titleHtml + '<br/><small class="fc-title m-l-5 hidden-xs">' +
+					(htmlEscape(event.details.topTitle || '') || '&nbsp;') + // we always want one line of height
+					'</small>';
+				break;
+			case 'film':
+				titleHtml = titleHtml + '<br/><small class="fc-title m-l-5 hidden-xs">' +
+					(htmlEscape(event.details.studio || '') || '&nbsp;') + // we always want one line of height
+					'</small>';
+				break;
+			default:
+				titleHtml = titleHtml + '<br/><small class="fc-title m-l-5 hidden-xs">' +
+					(htmlEscape('' || '') || '&nbsp;') + // we always want one line of height
+					'</small>';
+		}
         imageHtml =
 			'<span class="fc-status '+ event.bgColor +'"></span><span class="fc-image"><i class="fa fa-' +
 				(htmlEscape(event.imagetype || '') || '&nbsp;') + // we always want one line of height

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
plugins/bower_components/calendar/dist/fullcalendar.min.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.