feat: モーダルの文言変更、エラーモーダルのボタン押下時に画面にとどまるようにした
This commit is contained in:
parent
a8258b3f88
commit
4a3dfd2f3b
@ -433,13 +433,13 @@
|
||||
modal_title='エラー',
|
||||
message='DB接続に失敗しました。しばらく経ってから再度実行してください。',
|
||||
icon_key='warning',
|
||||
modal_close_event='location.href="/logout/?reason="',
|
||||
modal_close_event='',
|
||||
buttons = [
|
||||
{
|
||||
'id': 'error_modal_db',
|
||||
'class': 'btn btn-primary',
|
||||
'text': 'OK',
|
||||
'onclick_event': 'location.href="/logout/?reason=''"'
|
||||
'dismiss': 'modal',
|
||||
'text': 'OK'
|
||||
}
|
||||
]
|
||||
%}
|
||||
@ -450,15 +450,15 @@
|
||||
{% with
|
||||
modal_id='ErrorModal_Unexpected',
|
||||
modal_title='エラー',
|
||||
message='予期せぬエラーが発生しました。しばらく経ってから再度実行してください。',
|
||||
message='サーバーからの応答がありません。しばらく経ってから再度実行してください。',
|
||||
icon_key='warning',
|
||||
modal_close_event='location.href="/logout/?reason="',
|
||||
modal_close_event='',
|
||||
buttons = [
|
||||
{
|
||||
'id': 'error_modal_unexpected',
|
||||
'class': 'btn btn-primary',
|
||||
'text': 'OK',
|
||||
'onclick_event': 'location.href="/logout/?reason=''"'
|
||||
'dismiss': 'modal'
|
||||
}
|
||||
]
|
||||
%}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user