Refactor status component to exclude parentheses in status message
This commit is contained in:
		@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <div class="pl-2 pr-1 text-xs font-bold tracking-widerr text-warning">
 | 
					    <div class="pl-2 pr-1 text-xs font-bold tracking-widerr text-warning">
 | 
				
			||||||
        {{ str($status)->before(':')->headline() }}
 | 
					        {{ str($status)->before(':')->headline() }}
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    @if (!str($status)->startsWith('Proxy'))
 | 
					    @if (!str($status)->startsWith('Proxy') && !str($status)->contains('('))
 | 
				
			||||||
        <div class="text-xs text-warning">({{ str($status)->after(':') }})</div>
 | 
					        <div class="text-xs text-warning">({{ str($status)->after(':') }})</div>
 | 
				
			||||||
    @endif
 | 
					    @endif
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <div class="pl-2 pr-1 text-xs font-bold tracking-wider text-success">
 | 
					    <div class="pl-2 pr-1 text-xs font-bold tracking-wider text-success">
 | 
				
			||||||
        {{ str($status)->before(':')->headline() }}
 | 
					        {{ str($status)->before(':')->headline() }}
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    @if (!str($status)->startsWith('Proxy'))
 | 
					    @if (!str($status)->startsWith('Proxy') && !str($status)->contains('('))
 | 
				
			||||||
        <div class="text-xs text-success">({{ str($status)->after(':') }})</div>
 | 
					        <div class="text-xs text-success">({{ str($status)->after(':') }})</div>
 | 
				
			||||||
    @endif
 | 
					    @endif
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user