Commit 566cf8e4 authored by  JosephK's avatar JosephK

[drop] expiration

parent 924e2fe9
Pipeline #127397 passed with stage
in 1 minute and 33 seconds
......@@ -445,6 +445,13 @@ export default {
this.js = function() {
if (this.$root.url !== 'https://framadrop.org/') {
jQuery('main .row:last,main hr:last').hide();
} else {
document.querySelector('#delete-day option[value="60"]')
.insertAdjacentHTML('beforeend', ' (max 2Mo)');
document.querySelector('#delete-day option[value="30"]')
.insertAdjacentHTML('beforeend', ' (max 50Mo)');
document.querySelector('#delete-day option[value="7"]')
.insertAdjacentHTML('beforeend', ' (max 200Mo)');
}
};
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment