Commit e27451290cd1ced1e5ba5b88f2f4552da1b279c4

Authored by Caio Almeida
1 parent 734ad25f

Ticket #76: Adding missing templates and wrapping up

src/app/layout/blocks/recent-activities-plugin-activities/activities/add_member_in_community.html 0 → 100644
... ... @@ -0,0 +1 @@
  1 +{{'joined the community' | translate}}
... ...
src/app/layout/blocks/recent-activities-plugin-activities/activities/favorite_enterprise.html 0 → 100644
... ... @@ -0,0 +1 @@
  1 +{{'favorited an enterprise:' | translate}} <a ng-href="{{ctrl.urlFor(activity.params.enterprise_url)}}">{{activity.params.enterprise_name}}</a>
... ...
src/app/layout/blocks/recent-activities-plugin-activities/activities/upload_image.html 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +{{'uploaded images:' | translate}}<br />
  2 +<span ng-repeat="path in activity.params.thumbnail_path">
  3 + <a class="upimg" ng-href="{{ctrl.urlFor(activity.params.view_url[$index])}}" ng-style="{'background-image':'url({{path}})'}">
  4 + <span>{{path}}</span>
  5 + </a>
  6 +</span>
... ...
src/app/layout/blocks/recent-activities-plugin-activities/recent-activities-plugin-activities-block.scss
... ... @@ -3,10 +3,21 @@
3 3 }
4 4  
5 5 .recent-activities-block {
6   - img {
  6 + img, .upimg {
7 7 padding: 1px;
8 8 border: 1px solid #ccc;
9 9 margin-right: 2px;
10 10 margin-top: 2px;
11 11 }
  12 +
  13 + .upimg {
  14 + display: inline-block;
  15 + width: 20px;
  16 + height: 20px;
  17 + background-size: cover;
  18 +
  19 + span {
  20 + display: none;
  21 + }
  22 + }
12 23 }
... ...