mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 03:40:09 -05:00 
			
		
		
		
	Changed label to 'View in Portal'
This commit is contained in:
		
							parent
							
								
									c7f5a5cd9c
								
							
						
					
					
						commit
						b6e676b513
					
				@ -16,7 +16,7 @@ class ProposalPresenter extends EntityPresenter
 | 
			
		||||
        $invitation = $proposal->invitations->first();
 | 
			
		||||
        $actions = [];
 | 
			
		||||
 | 
			
		||||
        $actions[] = ['url' => $invitation->getLink('proposal'), 'label' => trans("texts.view_as_recipient")];
 | 
			
		||||
        $actions[] = ['url' => $invitation->getLink('proposal'), 'label' => trans("texts.view_in_portal")];
 | 
			
		||||
 | 
			
		||||
        $actions[] = DropdownButton::DIVIDER;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -2795,6 +2795,7 @@ $LANG = array(
 | 
			
		||||
    'item_details' => 'Item Details',
 | 
			
		||||
    'send_item_details_help' => 'Send the line item details to the payment gateway.',
 | 
			
		||||
    'view_proposal' => 'View Proposal',
 | 
			
		||||
    'view_in_portal' => 'View in Portal',
 | 
			
		||||
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -197,7 +197,7 @@
 | 
			
		||||
 | 
			
		||||
                @if (Auth::user()->confirmed && $client->account->enable_client_portal)
 | 
			
		||||
                    <i class="fa fa-dashboard" style="width: 20px"></i><a href="{{ $contact->link }}"
 | 
			
		||||
                        onclick="window.open('{{ $contact->link }}?silent=true', '_blank');return false;">{{ trans('texts.view_client_portal') }}
 | 
			
		||||
                        onclick="window.open('{{ $contact->link }}?silent=true', '_blank');return false;">{{ trans('texts.view_in_portal') }}
 | 
			
		||||
                    </a><br/>
 | 
			
		||||
                @endif
 | 
			
		||||
                <br/>
 | 
			
		||||
 | 
			
		||||
@ -785,7 +785,7 @@ function ContactModel(data) {
 | 
			
		||||
        if (self.invitation_link()) {
 | 
			
		||||
            // clicking adds 'silent=true' however it's removed when copying the link
 | 
			
		||||
            str += '<a href="' + self.invitation_link() + '" onclick="window.open(\'' + self.invitation_link()
 | 
			
		||||
                    + '?silent=true\', \'_blank\');return false;">{{ trans('texts.view_as_recipient') }}</a>';
 | 
			
		||||
                    + '?silent=true\', \'_blank\');return false;">{{ trans('texts.view_in_portal') }}</a>';
 | 
			
		||||
        }
 | 
			
		||||
        @endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user