Merge pull request #2999 from bison/user-location
Add user location metadata filed
This commit is contained in:
commit
62971b7f20
11 changed files with 79 additions and 15 deletions
|
@ -68,6 +68,15 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group nested">
|
||||
<label for="location">Location</label>
|
||||
<div class="field-row">
|
||||
<span class="field-container">
|
||||
<input type="text" class="form-control" placeholder="Location" ng-model="metadata.location" name="location"></span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 20px">
|
||||
<input type="submit" class="btn btn-primary" value="Save Details"
|
||||
ng-disabled="!metadata.name && !metadata.company">
|
||||
|
@ -76,4 +85,4 @@
|
|||
No thanks</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -152,6 +152,12 @@
|
|||
<a class="co-modify-link" ng-click="showChangeMetadata('company', 'company name')">{{ context.viewuser.company || '(None)' }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr quay-show="Features.USER_METADATA">
|
||||
<td>Location:</td>
|
||||
<td>
|
||||
<a class="co-modify-link" ng-click="showChangeMetadata('location', 'location')">{{ context.viewuser.location || '(None)' }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr quay-show="Config.AUTHENTICATION_TYPE == 'Database'">
|
||||
<td>Password:</td>
|
||||
<td>
|
||||
|
|
Reference in a new issue