Skip to content

Commit

Permalink
LPS-53929 - Source formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Mak authored and brianchandotcom committed Apr 29, 2015
1 parent 0dac7bc commit f2f2106
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
11 changes: 9 additions & 2 deletions portlets/calendar-portlet/docroot/js/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,12 @@
'<tpl for="calendars">',
'<div class="', CSS_CALENDAR_LIST_ITEM, '">',
'<div class="', CSS_CALENDAR_LIST_ITEM_COLOR, '" {[ parent.calendars[$i].get("visible") ? ', '\'style="background-color:\'', STR_PLUS, 'parent.calendars[$i].get("color")', STR_PLUS, '";border-color:"', STR_PLUS, 'parent.calendars[$i].get("color")', STR_PLUS, '";\\""', ' : \'', STR_BLANK, '\' ]}></div>',
'<span class="', CSS_CALENDAR_LIST_ITEM_LABEL, '">{[LString.escapeHTML(parent.calendars[$i].getDisplayName())]}</span>',
'<div class="', CSS_CALENDAR_LIST_ITEM_ARROW, '"><i class="', CSS_ICON_CARET_DOWN, '"></i></div>',

'<span class="', CSS_CALENDAR_LIST_ITEM_LABEL, '">{[LString.escapeHTML(parent.calendars[$i].getDisplayName())]}</span>',

'<div class="', CSS_CALENDAR_LIST_ITEM_ARROW, '">',
'<i class="', CSS_ICON_CARET_DOWN, '"></i>',
'</div>',
'</div>',
'</tpl>'
);
Expand Down Expand Up @@ -789,11 +793,14 @@
'<label class="checkbox">' +
'<input class="calendar-portlet-reminder-check" id="{portletNamespace}reminder{i}" name="{portletNamespace}reminder{i}" type="checkbox" <tpl if="!disabled">checked="checked"</tpl> />' +
'</label>' +

'<label class="reminder-type" for="{portletNamespace}reminder{i}">' +
'<input id="{portletNamespace}reminderType{i}" name="{portletNamespace}reminderType{i}" type="hidden" value="email" />' +
'{email}' +
'</label>' +

'<input class="input-mini reminder-value" name="{portletNamespace}reminderValue{i}" type="text" size="5" value="{time.value}" <tpl if="disabled">disabled="disabled"</tpl> /> ' +

'<select class="reminder-duration span2" name="{portletNamespace}reminderDuration{i}" <tpl if="disabled">disabled="disabled"</tpl>>' +
'<option value="60" <tpl if="time.desc == \'minutes\'">selected="selected"</tpl>>{minutes}</option>' +
'<option value="3600" <tpl if="time.desc == \'hours\'">selected="selected"</tpl>>{hours}</option>' +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,17 +223,17 @@ if (comment) {
var REGEX_USER_NAME = /@(.*[^\s]+)$/;

var TPL_SEARCH_RESULTS = '<div class="microblogs-autocomplete">' +
'<div class="thumbnail">' +
'<img alt="{fullName}" src="{portraitURL}" />' +
'</div>' +
'<div>' +
'<span class="user-name">{fullName}</span>' +
'<br />' +
'<span class="small">{emailAddress}</span>' +
'<br />' +
'<span class="job-title">{jobTitle}</span>' +
'</div>' +
'</div>';
'<div class="thumbnail">' +
'<img alt="{fullName}" src="{portraitURL}" />' +
'</div>' +
'<div>' +
'<span class="user-name">{fullName}</span>' +
'<br />' +
'<span class="small">{emailAddress}</span>' +
'<br />' +
'<span class="job-title">{jobTitle}</span>' +
'</div>' +
'</div>';

var autocompleteDiv;

Expand Down

0 comments on commit f2f2106

Please sign in to comment.