Skip to content

Commit

Permalink
changed item routes
Browse files Browse the repository at this point in the history
  • Loading branch information
abarnhard committed Aug 30, 2014
1 parent 8ec46bd commit 007c99c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/items/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ block content
each item in items
tr.item(data-loc='#{item.location}', data-lat='#{item.lat}', data-lng='#{item.lng}')
td.item-photo(style='background-image:url(#{item.photo})')
td: a(href='/items/#{item._id}')= item.name
td: a(href='/bid/#{item._id}')= item.name
td= item.location
td= item.description

Expand Down
4 changes: 3 additions & 1 deletion app/views/users/profile.jade
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ block content
button#submitItem.btn.btn-default(type='submit') Add Vintage
.row
.col-xs-6
h5 Inventory
table.table
thead
tr
Expand All @@ -66,6 +67,7 @@ block content

.col-xs-1
.col-xs-5
h5 Open Auctions
table.table
thead
tr
Expand All @@ -77,7 +79,7 @@ block content
if item.onSale
tr
td.item-photo(style='background-image:url(#{item.photo});')
td: a(href='/items/#{item._id}')= item.name
td: a(href='/trade/#{item._id}')= item.name
td= item.numBids

block scripts
Expand Down

0 comments on commit 007c99c

Please sign in to comment.