Skip to content

Commit 08fa6e0

Browse files
committed
Add beta marker in the api token view
1 parent 3a13d3f commit 08fa6e0

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

resources/views/user/api-access.blade.php

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,13 @@ class="btn btn-danger btn-xs"
9494

9595
<hr>
9696

97-
<legend>{{ __('API v1 tokens') }}</legend>
97+
<legend>{{ __('API v1 tokens') }} <span class="label label-info">{{ __('Beta') }}</span></legend>
98+
99+
<div class="alert alert-warning">
100+
<i class="fas fa-exclamation-triangle tw:mr-2"></i>
101+
<strong>{{ __('Beta') }}:</strong>
102+
{{ __('The v1 API is in beta. Endpoints and behaviour may change without notice.') }}
103+
</div>
98104

99105
<div id="v1-token-plain-alert" class="alert alert-warning hidden">
100106
<p><strong>{{ __('Copy this v1 token now; it will not be shown again.') }}</strong></p>
@@ -206,7 +212,7 @@ class="btn btn-danger btn-xs"
206212
<form id="v1-create-token-form" class="form-horizontal">
207213
<div class="modal-header">
208214
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
209-
<h5 class="modal-title" id="v1-create-title">{{ __('Create v1 API token') }}</h5>
215+
<h5 class="modal-title" id="v1-create-title">{{ __('Create v1 API token') }} <span class="label label-info">{{ __('Beta') }}</span></h5>
210216
</div>
211217
<div class="modal-body">
212218
<div class="form-group">
@@ -238,7 +244,7 @@ class="btn btn-danger btn-xs"
238244
<input type="hidden" name="v1_token_id" value="">
239245
<div class="modal-header">
240246
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
241-
<h5 class="modal-title">{{ __('Renew v1 API token') }}</h5>
247+
<h5 class="modal-title">{{ __('Renew v1 API token') }} <span class="label label-info">{{ __('Beta') }}</span></h5>
242248
</div>
243249
<div class="modal-body">
244250
<div class="form-group">
@@ -266,7 +272,7 @@ class="btn btn-danger btn-xs"
266272
<input type="hidden" name="confirm" value="yes">
267273
<div class="modal-header">
268274
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
269-
<h5 class="modal-title">{{ __('Confirm delete') }}</h5>
275+
<h5 class="modal-title">{{ __('Confirm delete') }} <span class="label label-info">{{ __('Beta') }}</span></h5>
270276
</div>
271277
<div class="modal-body">
272278
<p>{{ __('Delete this v1 API token? This cannot be undone.') }}</p>

0 commit comments

Comments
 (0)