This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new 3ab4bdf regenerate JS
3ab4bdf is described below
commit 3ab4bdfdce8392adc65cd5bd1b2b47684bf0e4c5
Author: Daniel Gruno <[email protected]>
AuthorDate: Fri Nov 20 13:03:06 2020 +0100
regenerate JS
---
webui/js/ponymail.js | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index 2d380e2..47a3a3e 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -1945,7 +1945,7 @@ function listview_flat(json, start) {
function listview_flat_element(eml, idx) {
- let link_wrapper = new HTML('a', {href:'thread.html/%s'.format(eml.id),
onclick:'return(expand_email_threaded(%u, true));'.format(idx)});
+ let link_wrapper = new HTML('a', {href:'thread/%s'.format(eml.id),
onclick:'return(expand_email_threaded(%u, true));'.format(idx)});
let element = new HTML('div', { class: "listview_email_flat"}, " ");
let date = new Date(eml.epoch*1000.0);
@@ -1990,6 +1990,7 @@ function listview_flat_element(eml, idx) {
return link_wrapper;
}
+
/******************************************
Fetched from source/listview-header.js
******************************************/
@@ -2342,7 +2343,7 @@ function listview_threaded_element(thread, idx) {
let eml = find_email(thread.tid);
if (!eml) { return; }
- let link_wrapper = new HTML('a', {href:'thread.html/%s'.format(eml.id),
onclick:'return(expand_email_threaded(%u));'.format(idx)});
+ let link_wrapper = new HTML('a', {href:'thread/%s'.format(eml.id),
onclick:'return(expand_email_threaded(%u));'.format(idx)});
let element = new HTML('div', { class: "listview_email_flat"}, " ");
let date = new Date(eml.epoch*1000.0);
@@ -2752,7 +2753,7 @@ async function render_email(state, json) {
let list_field = new HTML('div', {class: 'email_kv'});
let list_key = new HTML('div', {class: 'email_key'}, "List: ");
let list_value = new HTML('div', {class: 'email_value'},
- new HTML('a', {href: 'list.html?%s'.format(listname)}, listname)
+ new HTML('a', {href: 'list?%s'.format(listname)}, listname)
);
list_field.inject([list_key, list_value]);
div.inject(list_field);
@@ -2798,7 +2799,7 @@ async function render_email(state, json) {
toolbar.inject(replybutton);
// permalink button
- let linkbutton = new HTML('a', { href: 'thread.html/%s'.format(json.mid),
title: "Permanent link to this email", class: 'btn toolbar_btn
toolbar_button_link'}, new HTML('span', { class: 'glyphicon glyphicon-link'}, '
'));
+ let linkbutton = new HTML('a', { href: 'thread/%s'.format(json.mid),
title: "Permanent link to this email", class: 'btn toolbar_btn
toolbar_button_link'}, new HTML('span', { class: 'glyphicon glyphicon-link'}, '
'));
toolbar.inject(linkbutton);
// Source-view button
@@ -2875,7 +2876,7 @@ async function render_email_chatty(state, json) {
toolbar.inject(replybutton);
// permalink button
- let linkbutton = new HTML('a', { href: 'thread.html/%s'.format(json.mid),
title: "Permanent link to this email", class: 'btn toolbar_btn
toolbar_button_link'}, new HTML('span', { class: 'glyphicon glyphicon-link'}, '
'));
+ let linkbutton = new HTML('a', { href: 'thread/%s'.format(json.mid),
title: "Permanent link to this email", class: 'btn toolbar_btn
toolbar_button_link'}, new HTML('span', { class: 'glyphicon glyphicon-link'}, '
'));
toolbar.inject(linkbutton);
// Source-view button
@@ -3046,7 +3047,7 @@ function search(query, date) {
let sURL = '%sapi/stats.lua?d=%s&list=%s&domain=%s&q=%s'.format(apiURL,
date, list, domain, query);
GET(sURL, renderListView, {search: true, global: global});
let listid = '%s@%s'.format(list, domain);
- let newhref = "list.html?%s:%s:%s".format(listid, date, query);
+ let newhref = "list?%s:%s:%s".format(listid, date, query);
if (location.href !== newhref) {
window.history.pushState({}, null, newhref);
}