+ Awards component

This commit is contained in:
tmshv committed 2016-02-20 16:45:10 +03:00
1 parent ce2d0ec1b9
commit 56c1c9dffc
2 files changed
+15

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import template from '../../templates/components/award.html';
export default function (app) {
app.component('award', {
bindings: {
document: '='
},
template: template
});
};
+5
View File
@@ -0,0 +1,5 @@
<div class="doc">
<a href="{{$ctrl.document.thumbs.original.url}}" target="_blank">
<img ng-src="{{$ctrl.document.thumbs.medium.url}}">
</a>
</div>