mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
fix save user medals btn
This commit is contained in:
@@ -5896,7 +5896,9 @@ function build_medal_image(\Illuminate\Support\Collection $medals, $maxHeight =
|
||||
$html .= '</div>';
|
||||
$medalImages[] = $html;
|
||||
}
|
||||
$medalImages[] = sprintf('<div style="display: flex;flex-direction: column;justify-content: space-between;margin-right: 10px"><span></span><input type="button" id="save-user-medal-btn" value="%s"/></div>', nexus_trans('label.save'));
|
||||
if ($withActions) {
|
||||
$medalImages[] = sprintf('<div style="display: flex;flex-direction: column;justify-content: space-between;margin-right: 10px"><span></span><input type="button" id="save-user-medal-btn" value="%s"/></div>', nexus_trans('label.save'));
|
||||
}
|
||||
return $wrapBefore . implode('', $medalImages) . $wrapAfter;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user