closes #32: nice-looking date and times
This commit is contained in:
parent
1cd16f0e78
commit
df1aa84d3f
2 changed files with 3 additions and 2 deletions
|
@ -37,8 +37,8 @@
|
||||||
<tr ng-repeat="event in events | splittedFilter:query | orderBy:eventsOrderProp">
|
<tr ng-repeat="event in events | splittedFilter:query | orderBy:eventsOrderProp">
|
||||||
<td>
|
<td>
|
||||||
<span><strong><a ui-sref="event.info({id: event._id})">{{event.title}}</a></strong></span>
|
<span><strong><a ui-sref="event.info({id: event._id})">{{event.title}}</a></strong></span>
|
||||||
<p>{{'Begins:' | translate}} {{event['begin-date']}}<br/>
|
<p>{{'Begins:' | translate}} {{event['begin-date'] | date:'fullDate' }} {{event['begin-time'] | date:'hh:mm' }}<br/>
|
||||||
{{'Ends:' | translate}} {{event['end-date']}}</p>
|
{{'Ends:' | translate}} {{event['end-date'] | date:'fullDate' }} {{event['end-time'] | date:'hh:mm'}}</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<button ng-click="remove(event._id)" type="button" class="btn btn-link fa fa-trash fa-lg"></button>
|
<button ng-click="remove(event._id)" type="button" class="btn btn-link fa fa-trash fa-lg"></button>
|
||||||
|
|
1
angular_app/js/directives.js
vendored
1
angular_app/js/directives.js
vendored
|
@ -16,6 +16,7 @@ eventManApp.directive('eventmanPressEnter', function () {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
eventManApp.directive('eventmanFocus', function () {
|
eventManApp.directive('eventmanFocus', function () {
|
||||||
function link(scope, element, attrs) {
|
function link(scope, element, attrs) {
|
||||||
element[0].focus();
|
element[0].focus();
|
||||||
|
|
Loading…
Reference in a new issue