Skip to content

Commit

Permalink
feat(dashboard): Add senseBox ID
Browse files Browse the repository at this point in the history
senseBox ID is no provided in dashboard
  • Loading branch information
mpfeil committed Nov 12, 2018
1 parent 31c12e6 commit e4c7cbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/account.dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ <h3 translate="REGISTERED_BOXES" translate-values="{count: dashboard.boxes.lengt
<div class="name"><span>{{'BOX_NAME' | translate}}: {{box.name}}</span></div>
<div class="model"><span>{{'BOX_EXPOSURE' | translate}} - {{box.exposure}}</span></div>
<div class="model">{{'BOX_MODEL' | translate}} - {{box.model}}</div>
<br>
<div class="model">senseBox ID - <code>{{box._id}}</code></div>
</div>

</article>
Expand Down Expand Up @@ -85,7 +87,7 @@ <h1>{{'DASHBOARD_DATAUPLOAD' | translate}}</h1>
<li class="list-group-item clearfix" ng-repeat="box in dashboard.boxes | orderBy: dashboard.orderByProperty">
<div class="dashboard-list-item dashboard-list-item-circle" ng-style="{ 'background': box.markerOptions.color.hex }"></div>
<h4 class="list-group-item-heading name dashboard-list-item">{{'BOX_NAME' | translate}}: {{box.name}}</h4>
<p class="list-group-item-text model dashboard-list-item">{{'BOX_EXPOSURE' | translate}}: {{box.exposure}}, {{'BOX_MODEL' | translate}}: {{box.model}}</p>
<p class="list-group-item-text model dashboard-list-item">{{'BOX_EXPOSURE' | translate}}: {{box.exposure}}, {{'BOX_MODEL' | translate}}: {{box.model}}, senseBox ID - <code>{{box._id}}</code></p>
<div class="btn-group dashboard-list-item pull-right" role="group" aria-label="...">
<button type="button" class="btn btn-default" ui-sref="explore.map.sidebar.boxdetails({id: box._id})">
<i class="fa fa-map-marker fa-lg" aria-hidden="true"></i>
Expand Down

0 comments on commit e4c7cbb

Please sign in to comment.