<%@ include file="/common/taglibs.jsp" %>

<c:choose>
    <c:when test="${param.event == 'ISSUE_CREATED'}">
        <span class="event-type created-event"><fmt:message key="text.changelog.event.issue_created"/></span>
    </c:when>
    <c:when test="${param.event == 'ISSUE_MODIFIED'}">
        <span class="event-type modified-event"><fmt:message key="text.changelog.event.issue_modified"/></span>
    </c:when>
    <c:when test="${param.event == 'ISSUE_DELETED'}">
        <span class="event-type deleted-event"><fmt:message key="text.changelog.event.issue_deleted"/></span>
    </c:when>
    <c:when test="${param.event == 'ISSUE_CLOSED'}">
        <span class="event-type closed-event"><fmt:message key="text.changelog.event.issue_closed"/></span>
    </c:when>
    <c:when test="${param.event == 'ISSUE_RESOLVED'}">
        <span class="event-type resolved-event"><fmt:message key="text.changelog.event.issue_resolved"/></span>
    </c:when>
    <c:when test="${param.event == 'ISSUE_UNRESOLVED'}">
        <span class="event-type un-resolved-event"><fmt:message key="text.changelog.event.issue_unresolved"/></span>
    </c:when>
    <c:when test="${param.event == 'ISSUE_REOPENED'}">
        <span class="event-type re-opened-event"><fmt:message key="text.changelog.event.issue_reopened"/></span>
    </c:when>
    <c:when test="${param.event == 'COMMENT_CREATED' || param.event == 'COMMENT_MODIFIED'}">
        <span class="event-type comment-event"><fmt:message key="text.changelog.event.comment"/></span>
    </c:when>
    <c:when test="${param.event == 'ATTACHMENT_CREATED'}">
        <span class="event-type attachment-event"><fmt:message key="text.changelog.event.attachment"/></span>
    </c:when>
    <c:when test="${param.event == 'TIME_CREATED'}">
        <span class="event-type time-event"><fmt:message key="text.changelog.event.time"/></span>
    </c:when>
    <c:otherwise>

    </c:otherwise>
</c:choose>
