Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bookshare
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
30
Issues
30
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SRCT
bookshare
Commits
c65bd413
Commit
c65bd413
authored
May 03, 2015
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed cache yet again after user tested yesterday; added warning re cache
parent
8192965b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
bookshare/trades/templates/list_listings.html
bookshare/trades/templates/list_listings.html
+4
-1
bookshare/trades/urls.py
bookshare/trades/urls.py
+1
-1
No files found.
bookshare/trades/templates/list_listings.html
View file @
c65bd413
...
...
@@ -19,13 +19,16 @@ SRCT Bookshare • Latest Listings
<div
class=
"row"
>
<div
class=
"col-md-10 col-md-offset-1 text-center"
>
<h4><p>
<em>
Want to
<strong><a
href=
"/search"
>
search
</a></strong>
for something specific?
</em>
</p></h4>
<h4><p>
Want to instead
<strong><a
href=
"/search"
>
search
</a></strong>
for something specific?
</p></h4>
</div>
</div>
<legend></legend>
<div
class=
"row"
>
<div
class=
"col-md-10 col-md-offset-1 text-center bottom-padding"
>
<small><em>
New listings may take a few moments to appear.
</em></small>
</div>
{% for listing in listings %}
<div
class=
"col-md-6"
>
{% include 'listing_preview_panel.html' %}
...
...
bookshare/trades/urls.py
View file @
c65bd413
...
...
@@ -16,7 +16,7 @@ urlpatterns = patterns('',
CreateListing
.
as_view
(),
name
=
'create_listing'
),
url
(
r
'^listing/(?P<slug>[\w-]+)/$'
,
cache_page
(
6
)(
ListingPage
.
as_view
()),
name
=
'detail_listing'
),
cache_page
(
4
)(
ListingPage
.
as_view
()),
name
=
'detail_listing'
),
url
(
r
'^listing/(?P<slug>[\w-]+)/delete/$'
,
DeleteListing
.
as_view
(),
name
=
'delete_listing'
),
...
...
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