Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
bookshare
Commits
4a347c18
Commit
4a347c18
authored
May 02, 2015
by
Daniel W Bond
Browse files
ordering of ors and ands
parent
2050d391
Changes
1
Hide whitespace changes
Inline
Side-by-side
bookshare/trades/templates/detail_listing.html
View file @
4a347c18
...
...
@@ -292,7 +292,7 @@ SRCT Bookshare • {{ listing.title }}
</div>
<div
class=
"col-md-2 col-sm-6 col-xs-6 text-center"
>
{% if not listing.exchanged or not listing.cancelled
and bid.bidder.user == request.user
%}
{% if
request.user == bid.bidder.user and
not listing.exchanged or not listing.cancelled %}
<h4><a
href=
"{% url 'edit_bid' listing.slug bid.slug %}"
<
span
class=
"label label-default"
>
Edit
</span></a></h4>
{% endif %}
{% if bid == listing.winning_bid %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment