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