Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
django-newsbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WebU
shared
django-newsbox
Commits
aa3d8aba
Commit
aa3d8aba
authored
8 years ago
by
Dylann Cordel
Browse files
Options
Downloads
Patches
Plain Diff
fix template
parent
2a60a9cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
newsbox/templates/newsbox/inc/list.html
+1
-1
1 addition, 1 deletion
newsbox/templates/newsbox/inc/list.html
newsbox_cms/templates/newsbox_cms/inc/list.html
+1
-16
1 addition, 16 deletions
newsbox_cms/templates/newsbox_cms/inc/list.html
with
2 additions
and
17 deletions
newsbox/templates/newsbox/inc/list.html
+
1
−
1
View file @
aa3d8aba
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
{% for object in object_list %}
{% for object in object_list %}
{% block newsbox_list_item %}
{% block newsbox_list_item %}
{% include
'newsbox/inc/
list-item.html' %}
{% include
model_opts.app_label|add:'/inc/'|add:model_opts.model_name|add:'-
list-item.html' %}
{% endblock %}
{% endblock %}
{% endfor %}
{% endfor %}
...
...
This diff is collapsed.
Click to expand it.
newsbox_cms/templates/newsbox_cms/inc/list.html
+
1
−
16
View file @
aa3d8aba
...
@@ -5,19 +5,4 @@
...
@@ -5,19 +5,4 @@
{% block newsbox_list_header %}
{% block newsbox_list_header %}
{% render_model_add model %}
{% render_model_add model %}
{{ block.super }}
{{ block.super }}
{% endblock %}
{% endblock %}
\ No newline at end of file
{% block newsbox_list_item_header %}
{% render_model_icon object %}
{{ block.super }}
{% endblock %}
{% block newsbox_list_item_content %}
<div
class=
"summary"
>
{{ object.newsbox_summary|safe }}
{% render_placeholder object.newsbox_body as body %}
</div>
{% if body %}
<a
class=
"readmore"
href=
"{{ object.get_absolute_url }}"
>
{% trans "Read more" %}
</a>
{% endif %}
{% endblock %}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment