ソースを参照

fix(translation): Set translated text as html to get unescaped output (#16214)

version-14
Mohammad Hasnain Mohsin Rajan 3年前
committed by GitHub
コミット
02c9de7e38
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      frappe/templates/includes/login/login.js

+ 1
- 1
frappe/templates/includes/login/login.js ファイルの表示

@@ -313,7 +313,7 @@ var continue_otp_app = function (setup, qrcode) {
var qrcode_div = $('<div class="text-muted" style="padding-bottom: 15px;"></div>');

if (setup) {
direction = $('<div>').attr('id', 'qr_info').text('{{ _("Enter Code displayed in OTP App.") }}');
direction = $('<div>').attr('id', 'qr_info').html('{{ _("Enter Code displayed in OTP App.") }}');
qrcode_div.append(direction);
$('#otp_div').prepend(qrcode_div);
} else {


読み込み中…
キャンセル
保存