You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

article.html 1.3KB

1234567891011121314151617181920212223242526272829303132333435
  1. <div layout="column" layout-align=" center">
  2. <p class="newline-text article-text">{{ ngModel.text }}</p>
  3. </div>
  4. <div layout="row">
  5. <div flex="70">
  6. <md-table-container ng-show="ngModel != null && ngModel.fields.length > 0">
  7. <table md-table>
  8. <thead md-head>
  9. <tr md-row>
  10. <th md-column>{{ 'articles.fields.property' | translate }}</th>
  11. <th md-column>{{ 'articles.fields.value' | translate }}</th>
  12. </tr>
  13. </thead>
  14. <tbody md-body>
  15. <tr md-row ng-repeat="field in ngModel.fields track by $index">
  16. <td md-cell>
  17. {{ 'articles.fields.properties.' + field.property | translate }}
  18. </td>
  19. <td md-cell>
  20. {{ field.value }}
  21. </td>
  22. </tr>
  23. </tbody>
  24. </table>
  25. </md-table-container>
  26. </div>
  27. <div flex="30">
  28. <div layout="column" layout-align=" center">
  29. <img class="article-picture" ng-src="{{ngModel.pictureUrl}}" />
  30. </div>
  31. <div layout="column" layout-align=" center">
  32. <p class="newline-text article-picture-caption">{{ ngModel.pictureCaption }}</p>
  33. </div>
  34. </div>
  35. </div>