Fix small bug in templates and tweak settings
This commit is contained in:
@ -5,7 +5,7 @@ from leaflet.admin import LeafletGeoAdmin
|
||||
from .models import CaseStudy
|
||||
|
||||
|
||||
class CaseStudyAdmin(ModerationAdmin, LeafletGeoAdmin):
|
||||
class CaseStudyAdmin(LeafletGeoAdmin):
|
||||
pass
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user