mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01: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();
|
$invitation = $proposal->invitations->first();
|
||||||
$actions = [];
|
$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;
|
$actions[] = DropdownButton::DIVIDER;
|
||||||
|
|
||||||
|
@ -2795,6 +2795,7 @@ $LANG = array(
|
|||||||
'item_details' => 'Item Details',
|
'item_details' => 'Item Details',
|
||||||
'send_item_details_help' => 'Send the line item details to the payment gateway.',
|
'send_item_details_help' => 'Send the line item details to the payment gateway.',
|
||||||
'view_proposal' => 'View Proposal',
|
'view_proposal' => 'View Proposal',
|
||||||
|
'view_in_portal' => 'View in Portal',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@
|
|||||||
|
|
||||||
@if (Auth::user()->confirmed && $client->account->enable_client_portal)
|
@if (Auth::user()->confirmed && $client->account->enable_client_portal)
|
||||||
<i class="fa fa-dashboard" style="width: 20px"></i><a href="{{ $contact->link }}"
|
<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/>
|
</a><br/>
|
||||||
@endif
|
@endif
|
||||||
<br/>
|
<br/>
|
||||||
|
@ -785,7 +785,7 @@ function ContactModel(data) {
|
|||||||
if (self.invitation_link()) {
|
if (self.invitation_link()) {
|
||||||
// clicking adds 'silent=true' however it's removed when copying the 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()
|
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
|
@endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user