Fix small bug in templates and tweak settings

This commit is contained in:
Livvy Mackintosh
2017-10-31 16:00:44 +01:00
parent 43d6ec989b
commit aa6c1cf33b
5 changed files with 10 additions and 20 deletions

View File

@ -5,7 +5,7 @@ from leaflet.admin import LeafletGeoAdmin
from .models import CaseStudy
class CaseStudyAdmin(ModerationAdmin, LeafletGeoAdmin):
class CaseStudyAdmin(LeafletGeoAdmin):
pass

View File

@ -32,8 +32,8 @@
{% endif %}
<span class="badge badge-pill bg-info">{{case_study.country.name}}</span>
</br>
<small class="text-muted">Created {{case_study.date_created|naturaltime}} by <i>{{case_study.author.}}</i></small>
</div>
<small class="text-muted">Created {{case_study.date_created|naturaltime}} by <i>{{case_study.author}}</i></small>
</div>
<a class="btn btn-primary btn-lg float-right" href="#" role="button">Get Involved</a>
</div>
</div>
@ -114,4 +114,4 @@
</div>
</footer>
{% endblock %}
</html>
</html>