diff --git a/app/core/templates/core/ticket.html.j2 b/app/core/templates/core/ticket.html.j2 index 7044048ad..19006109f 100644 --- a/app/core/templates/core/ticket.html.j2 +++ b/app/core/templates/core/ticket.html.j2 @@ -33,7 +33,7 @@ {% if ticket.related_tickets %} {% for related_ticket in ticket.related_tickets %} -
+ {% endfor %} diff --git a/app/core/templates/core/ticket/type_icon.html.j2 b/app/core/templates/core/ticket/type_icon.html.j2 new file mode 100644 index 000000000..751ec4108 --- /dev/null +++ b/app/core/templates/core/ticket/type_icon.html.j2 @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/app/core/templates/icons/ticket/ticket.svg b/app/core/templates/icons/ticket/ticket.svg new file mode 100644 index 000000000..2330d6c35 --- /dev/null +++ b/app/core/templates/icons/ticket/ticket.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/project-static/ticketing.css b/app/project-static/ticketing.css index 73123c86b..89125016f 100644 --- a/app/project-static/ticketing.css +++ b/app/project-static/ticketing.css @@ -38,7 +38,6 @@ } - #linked-tickets .icon.icon-related svg{ background-color: #afdbff; border-radius: 10px; @@ -61,6 +60,41 @@ } +#linked-tickets .ticket #ticket-icon { + display: inline-block; + width: 20px; + line-height: 30px; + vertical-align: middle; + padding: 0px; + margin: 0px 5px 0px 0px; + height: 20px; +} +/* +#ticket-icon div { + background-color: #e79b37; + display: inline; + width: 20px; + line-height: 30px; + vertical-align: middle; + padding: 0px; + margin: 0px; + +}*/ + +#linked-tickets .ticket #ticket-icon svg { + /*background-color: #e79b37;*/ + /*background-color: tomato;*/ + display: inline; + /*width: 20px;*/ + height: 22px; + padding: 1px; + border: none; + border-radius: 10px; + /*line-height: 20px;*/ + +} + + #ticket-additional-data { padding-right: 10px; font-size: 12pt; @@ -329,32 +363,32 @@ } -h3.incident-ticket { +.incident-ticket { background-color: #f7baba; } -h3.request-ticket { +.request-ticket { background-color: #f7e9ba; } -h3.change-ticket { +.change-ticket { background-color: #badff7; } -h3.problem-ticket { +.problem-ticket { background-color: #f7d0ba; } -h3.issue-ticket { +.issue-ticket { background-color: #baf7db; } -h3.project_task-ticket { +.project_task-ticket { background-color: #c5baf7; }