<div class="activity-item">
    {% if not activity_type.deactivated %}
        <a class="dialog-box {{ category }}" href="{{ activity_type.create_url }}" data-dismiss="modal">
            <div class="activity-thumbnail">
                <i class="activity-icon icon-{{ activity_type.type }}"></i>
                <p class="activity-title">{{ activity_type.verbose_name }}</p>
                <i class="dialog-box fa fa-info-circle activity-info"
                   data-modal-classes="modal-discover-item"
                   data-href="{% url 'cms:discover_detail' slug=activity_type.type %}"
                   data-dismiss="modal"
                ></i>
            </div>
        </a>
    {% else %}
        <span class="dialog-box {{ category }} disabled">
            <div class="activity-thumbnail">
                <i class="activity-icon icon-{{ activity_type.type }}"></i>
                <p class="activity-title">{{ activity_type.verbose_name }}</p>
                <i class="dialog-box fa fa-info-circle activity-info"
                   data-modal-classes="modal-discover-item"
                   data-href="{% url 'cms:discover_detail' slug=activity_type.type %}"
                   data-dismiss="modal"
                ></i>
            </div>
        </span>
    {% endif %}
</div>
