mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Updated lists to group by store
Lists have been updated to group by store. This feature adds a new tab to the List view. Users can now view their items on the general (un-ordered) list, or can see their items gouped by store(s) the product has been assigned. If a product is on the list, and does not have an assigned store, it will not show on the new store grouped tab. Updated the dashboard card for update available information to place the update release notes in a prettier format.
This commit is contained in:
parent
b992c9d67e
commit
c733727829
8 changed files with 115 additions and 16 deletions
|
|
@ -16,7 +16,7 @@
|
|||
</div>
|
||||
<div class="col s12">
|
||||
Release Notes:
|
||||
<p class="flow-text">{{descriptionSinHTML}}</p>
|
||||
<p class="flow-text">{{{descriptionSinHTML}}}</p>
|
||||
</div>
|
||||
<div class="col s12">
|
||||
Release Date:
|
||||
|
|
|
|||
|
|
@ -60,7 +60,8 @@ Template.dashboard.helpers({
|
|||
return todayDate;
|
||||
},
|
||||
updates: function() {
|
||||
return UpdateInfo.find({});
|
||||
let updateAvail = UpdateInfo.find({});
|
||||
return updateAvail;
|
||||
},
|
||||
updatesExist: function() {
|
||||
let updateExists = UpdateInfo.find({ viewed: false }).fetch();
|
||||
|
|
@ -76,7 +77,7 @@ Template.dashboard.helpers({
|
|||
descriptionSinHTML: function() {
|
||||
let desc = this.description;
|
||||
let sinH = $(desc).text();
|
||||
return sinH;
|
||||
return desc;
|
||||
},
|
||||
niceDate: function() {
|
||||
let rDateNorm = this.date;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue