|
1 |
| -<?php |
2 |
| -//dump($entity); |
| 1 | +<?php |
3 | 2 | //$spaceRelation = array_key_exists('useSpaceRelation', $project->metadata) ? $project->metadata['useSpaceRelation'] : '';
|
4 |
| - |
| 3 | + |
5 | 4 | //if($spaceRelation == 'optional' || $spaceRelation == 'required'):
|
6 | 5 | ?>
|
7 | 6 |
|
|
10 | 9 | <!-- espaços relacionados a inscricao -->
|
11 | 10 | <div class="registration-list">
|
12 | 11 | <input type="hidden" id="ownerId" name="ownerId" class="js-editable" data-edit="ownerId"/>
|
13 |
| - <div id="registration-agent-space" class="js-registration-agent registration-agent"> |
14 |
| - <p ng-if="data.entity.registrationSpace.status < 0" class="alert warning"><?php \MapasCulturais\i::_e("Aguardando confirmação");?></p> |
15 |
| - <div class="clearfix"> |
16 |
| - <img ng-src="{{data.entity.registrationSpace.space.avatar.avatarSmall.url || data.assets.avatarSpace}}" class="registration-space-avatar" /> |
17 |
| - |
18 |
| - <div class="space-single-view-message"> |
19 |
| - <a ng-if="data.entity.registrationSpace.space" href="{{data.entity.registrationSpace.space.singleUrl}}">{{data.entity.registrationSpace.space.name}}</a> |
20 |
| - <span ng-if="!data.entity.registrationSpace.space"><?php \MapasCulturais\i::_e("Não informado");?></span> |
21 |
| - </div> |
| 12 | + <div id="registration-agent-space" class="js-registration-agent registration-agent"> |
| 13 | + <p ng-if="data.entity.registrationSpace.status < 0" class="alert warning"><?php \MapasCulturais\i::_e("Aguardando confirmação");?></p> |
| 14 | + <div class="clearfix"> |
| 15 | + <img ng-src="{{data.entity.registrationSpace.space.avatar.avatarSmall.url || data.assets.avatarSpace}}" class="registration-space-avatar" /> |
| 16 | + |
| 17 | + <div class="space-single-view-message"> |
| 18 | + <a ng-if="data.entity.registrationSpace.space" href="{{data.entity.registrationSpace.space.singleUrl}}">{{data.entity.registrationSpace.space.name}}</a> |
| 19 | + <span ng-if="!data.entity.registrationSpace.space"><?php \MapasCulturais\i::_e("Não informado");?></span> |
22 | 20 | </div>
|
23 |
| - <div class="registration-space-details"> |
24 |
| - <div ng-repeat="prop in data.spaceLabels" ng-if="data.entity.spaceData[prop.name]"> |
25 |
| - <span class="label">{{prop.label}}</span>: {{prop.name === 'location' ? getReadableLocation(data.entity.spaceData[prop.name]) : data.entity.spaceData[prop.name]}} |
26 |
| - </div> |
| 21 | + </div> |
| 22 | + <div class="registration-space-details"> |
| 23 | + <div ng-repeat="prop in data.spaceLabels" ng-if="data.entity.spaceData[prop.name]"> |
| 24 | + <span class="label">{{prop.label}}</span>: {{prop.name === 'location' ? getReadableLocation(data.entity.spaceData[prop.name]) : data.entity.spaceData[prop.name]}} |
27 | 25 | </div>
|
28 | 26 | </div>
|
29 | 27 | </div>
|
30 | 28 | </div>
|
31 | 29 | </div>
|
32 |
| - |
33 |
| -<?php //endif; ?> |
0 commit comments