fix for dead linsk
This commit is contained in:
parent
4fd1ac944e
commit
d142420daf
|
@ -11,6 +11,15 @@
|
|||
margin: auto;
|
||||
}
|
||||
|
||||
.ticket-site-dead {
|
||||
color: $gray;
|
||||
background-color: $light-gray;
|
||||
}
|
||||
|
||||
.error-red {
|
||||
color: $red;
|
||||
}
|
||||
|
||||
.img-avatar {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
<i class="fa fa-external-link"></i>
|
||||
<%= ticket.registered_site.title %>
|
||||
</a>
|
||||
<% else %>
|
||||
<span class="ticket-site-dead">Site deleted</span>
|
||||
<% end %>
|
||||
<div class="ticket-label pull-right">
|
||||
<% if ticket.is_urgent? %>
|
||||
|
|
|
@ -12,8 +12,9 @@
|
|||
<td>
|
||||
<% if !ticket_by_c.registered_site.nil? %>
|
||||
<a href="http://<%= ticket_by_c.registered_site.site_domain %>" target="_blank"><%= ticket_by_c.registered_site.title %></a>
|
||||
<% else %>
|
||||
<span class="error-red">Site deleted</span>
|
||||
<% end %>
|
||||
|
||||
</td>
|
||||
<td class="span6">
|
||||
<a href="/admin/tickets/<%= ticket_by_c.id.to_s %>"><%= ticket_by_c.subject %></a>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<i class="ticket-home-btn-icon fa fa-home"></i>
|
||||
Back to Dashboard
|
||||
</a>
|
||||
<% if !@ticket.registered_site.nil?
|
||||
<% if !@ticket.registered_site.nil? %>
|
||||
<a href="http://<%= @ticket.registered_site.site_domain %>" target="_blank" class="btn btn-normal">
|
||||
<i class="ticket-external-link-icon fa fa-external-link"></i>
|
||||
<%= @ticket.registered_site.title %>
|
||||
|
@ -33,6 +33,8 @@
|
|||
<i class="ticket-external-link-icon fa fa-search"></i>
|
||||
Search tickets from <b><i><%= @ticket.registered_site.title %></i></b>
|
||||
</a>
|
||||
<% else %>
|
||||
<span class="ticket-site-dead">Site Deleted</span>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="ticket-wrap">
|
||||
|
|
Loading…
Reference in New Issue