Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoInt_SIDT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoInt_SIDT
Commits
6394ede9
Commit
6394ede9
authored
Aug 31, 2018
by
Renán Sosa Guillen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
borrado
parent
bf379b62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
50 deletions
+0
-50
0009_cartproduct.py
catalog/migrations/0009_cartproduct.py
+0
-29
noProductsModal.html
catalog/templates/noProductsModal.html
+0
-21
No files found.
catalog/migrations/0009_cartproduct.py
deleted
100644 → 0
View file @
bf379b62
# -*- coding: utf-8 -*-
# Generated by Django 1.11.13 on 2018-08-23 18:26
from
__future__
import
unicode_literals
from
django.conf
import
settings
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
migrations
.
swappable_dependency
(
settings
.
AUTH_USER_MODEL
),
(
'catalog'
,
'0008_auto_20180725_1554'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'CartProduct'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'aggreg_date'
,
models
.
DateTimeField
(
auto_now
=
True
)),
(
'uuid'
,
models
.
CharField
(
max_length
=
50
)),
(
'info'
,
models
.
TextField
(
null
=
True
)),
(
'purchased'
,
models
.
NullBooleanField
()),
(
'user'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
settings
.
AUTH_USER_MODEL
)),
],
),
]
catalog/templates/noProductsModal.html
deleted
100644 → 0
View file @
bf379b62
<!--
Modal when there's no product available for a certain search.
-->
<div
class=
"modal fade"
id=
"no-prods-modal"
style=
"display: none;"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span></button>
<h4
class=
"modal-title"
>
No products were found!
</h4>
</div>
<div
class=
"modal-body"
>
<p>
Parameters for this search brought no results...
</p>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-modal-1 pull-left"
data-dismiss=
"modal"
>
Close
</button>
</div>
</div>
</div>
</div>
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