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