mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:47:31 +08:00
bdcb96ad1b
We've recently added a limit to the posts history modal so it displays the last 100 revisions only for performance reasons. However, the title of the modal now always says `History, last 100 revisions` even when the post has fewer than 100 revisions which can be a bit noisy. This PR amends the history modal so the title of the modal says `History` when the post's revisions count is ≤100, and `History, last 100 revisions` when it has more >100 revisions. |
||
---|---|---|
.. | ||
admin | ||
confirm-new-email | ||
discourse | ||
discourse-common | ||
discourse-hbr | ||
discourse-widget-hbs | ||
docs | ||
ember-addons | ||
locales | ||
pretty-text | ||
select-kit | ||
truth-helpers | ||
wizard | ||
.npmrc | ||
activate-account.js | ||
admin.js.erb | ||
app-boot.js | ||
application.js | ||
auto-redirect.js | ||
browser-detect.js | ||
browser-update.js | ||
discourse-loader.js | ||
discourse-shims.js | ||
embed-application.js | ||
ember_include.js.erb | ||
ember_jquery.js | ||
env.js | ||
google-tag-manager.js | ||
google-universal-analytics-v3.js | ||
google-universal-analytics-v4.js | ||
handlebars-shim.js | ||
main_include_admin.js | ||
markdown-it-bundle.js | ||
onpopstate-handler.js | ||
package.json | ||
polyfills.js | ||
pretty-text-bundle.js | ||
print-page.js | ||
service-worker.js.erb | ||
set-prototype-polyfill.js | ||
start-discourse.js | ||
template_include.js | ||
test-shims.js | ||
vendor.js | ||
widget-runtime.js | ||
wizard-application.js | ||
wizard-shims.js | ||
wizard-start.js | ||
wizard-vendor.js | ||
yarn.lock |