Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
repanier
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chris
repanier
Commits
3d3fb946
Commit
3d3fb946
authored
May 28, 2017
by
Patrick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display something into "home_info" in order to have a better rendering
parent
41f163af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
repanier/templates/repanier/order_form.html
repanier/templates/repanier/order_form.html
+9
-2
No files found.
repanier/templates/repanier/order_form.html
View file @
3d3fb946
...
...
@@ -12,6 +12,10 @@
{% addtoblock "jshead" %}
<script
src=
"{{ STATIC_URL}}waypoints/shortcuts/infinite.min.js"
></script>
{% endaddtoblock %}
{% if offeritem_list %}
<div
class=
"infinite-container"
>
{% if page_obj.has_next %}
<span
href=
"?page={{ page_obj.next_page_number }}&producer={{ producer_id }}&departementforcustomer={{ departementforcustomer_id }}&is_like={{ is_like }}{% if q %}&q={{ q }}{% endif %}"
class=
"infinite-more-link"
></span>
{% endif %}
{% for offer in offeritem_list %}
<div
class=
"infinite-item"
>
{% if offer.picture %}
...
...
@@ -44,8 +48,9 @@
{% endfor %}
</div>
{% if page_obj.has_next %}
<a
href=
"?page={{ page_obj.next_page_number }}&producer={{ producer_id }}&departementforcustomer={{ departementforcustomer_id }}&is_like={{ is_like }}{% if q %}&q={{ q }}{% endif %}"
class=
"infinite-more-link btn btn-default not-active"
><span
class=
"glyphicon glyphicon-refresh gly-spin"
></span>
{% trans "Loading..." %}
</a>
<div
class=
"loading"
style=
"display: none;"
>
<a
href=
"#"
class=
"btn btn-default not-active"
><span
class=
"glyphicon glyphicon-refresh gly-spin"
></span>
{% trans "Loading..." %}
</a>
</div>
{% endif %}
<div
class=
"loaded"
style=
"display: none;"
>
<a
class=
"btn btn-default btn-disabled back-to-top-sticky-button"
id=
"backToTop"
href=
"#top"
><span
class=
"glyphicon glyphicon-menu-up"
aria-hidden=
"true"
></span></a>
...
...
@@ -64,8 +69,10 @@
element
:
$
(
'
.infinite-container
'
)[
0
],
onBeforePageLoad
:
function
()
{
$
(
'
.loaded
'
).
hide
();
$
(
'
.loading
'
).
show
();
},
onAfterPageLoad
:
function
(
$items
)
{
$
(
'
.loading
'
).
hide
();
$
(
'
.loaded
'
).
show
();
}
});
...
...
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