1
0
Fork 0

Remove multi profiles feature

- Remove mod/profperm
- Remove additional feature
- Remove profile visibility on contact page
- Remove profile list templates
This commit is contained in:
Hypolite Petovan 2019-10-27 10:09:38 -04:00
commit f6f4cbab9d
18 changed files with 13 additions and 523 deletions

View file

@ -172,35 +172,6 @@
</div>
</div>
{{/if}}
{{if $lbl_vis1}}
<div class="panel">
<div class="section-subtitle-wrapper" role="tab" id="contact-edit-profile-select">
<h4>
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-profile-select-collapse" aria-expanded="false" aria-controls="contact-edit-profile-select-collapse">
{{$lbl_vis1}}
</a>
</h4>
</div>
<div id="contact-edit-profile-select-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="contact-edit-profile-select">
<div class="section-content-tools-wrapper">
{{if $profile_select}}
<div id="contact-edit-profile-select-text">
<p>{{$lbl_vis2}}</p>
</div>
<div class="form-group">
{{$profile_select nofilter}}
</div>
<div class="clear"></div>
{{/if}}
<div class="form-group pull-right settings-submit-wrapper" >
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
</div>
<div class="clear"></div>
</div>
</div>
</div>
{{/if}}
</div>
</form>{{* End of the form *}}

View file

@ -1,15 +0,0 @@
<div class="profile-listing-row" >
<div class="profile-listing-cell" >
<a href="profiles/{{$id}}" class="profile-listing-edit-link"><img class="profile-listing-photo" id="profile-listing-photo-{{$id}}" src="{{$photo}}" alt="{{$alt}}" /></a>
</div>
<div class="profile-listing-photo-end"></div>
<div class="profile-listing-cell" id="profile-listing-name-{{$id}}">
<a href="profiles/{{$id}}" class="profile-listing-edit-link" >{{$profile_name}}</a>
</div>
<div class="profile-listing-cell">
{{$visible nofilter}}
</div>
</div>
<div class="profile-listing-end"></div>

View file

@ -1,16 +0,0 @@
<div class="generic-page-wrapper">
<div class="section-title-wrapper pull-left">
<h2>{{$header}}</h2>
</div>
<div id="profile-listing-new-link-wrapper" class="pull-right" >
<a href="{{$cr_new_link}}" id="profile-listing-new-link" class="page-action faded-icon" title="{{$cr_new}}" data-toggle="tooltip">
<i class="fa fa-plus"></i></a>
</div>
<div class="section-content-wrapper">
<div id="profile-listing-profiles" class="profile-listing-table">
{{$profiles nofilter}}
</div>
</div>
</div>

View file

@ -85,15 +85,6 @@
</div>
<div id="contact-info-end"></div>
{{/if}}
{{if $profile_select}}
<div id="contact-edit-profile-select-text">
<h4>{{$lbl_vis1}}</h4>
<p>{{$lbl_vis2}}</p>
</div>
{{$profile_select nofilter}}
<div id="contact-edit-profile-select-end"></div>
{{/if}}
</div>
<input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
{{/if}}