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
aff53981
Commit
aff53981
authored
Apr 24, 2015
by
Daniel W Bond
Browse files
put message template in separate file
parent
84430bfe
Changes
2
Hide whitespace changes
Inline
Side-by-side
bookshare/templates/messages.html
0 → 100644
View file @
aff53981
{% if messages %}
{% for message in messages %}
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<div
class=
"alert alert-info alert-dismissable text-center"
role=
"alert"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
><span
aria-hidden=
"true"
>
×
</span></button>
<strong>
{{ message }}
</strong>
</div>
</div>
</div>
{% endfor %}
{% endif %}
bookshare/trades/templates/detail_listing.html
View file @
aff53981
...
...
@@ -44,18 +44,7 @@ SRCT Bookshare • {{ listing.title }}
</div>
{% endif %}
{% if messages %}
{% for message in messages %}
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<div
class=
"alert alert-info alert-dismissable text-center"
role=
"alert"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"alert"
aria-label=
"close"
><span
aria-hidden=
"true"
>
×
</span></button>
<strong>
{{ message }}
</strong>
</div>
</div>
</div>
{% endfor %}
{% endif %}
{% include 'messages.html' %}
{% if listing.cancelled %}
<div
class=
"row"
>
...
...
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