+ Awards component
This commit is contained in:
1 parent
ce2d0ec1b9
commit
56c1c9dffc
2 files changed
+15
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import template from '../../templates/components/award.html';
|
||||
|
||||
export default function (app) {
|
||||
app.component('award', {
|
||||
bindings: {
|
||||
document: '='
|
||||
},
|
||||
template: template
|
||||
});
|
||||
};
|
||||
@@ -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>
|
||||
Reference in new issue
Block a user