mirror of https://gitlab.com/bashrc2/epicyon
Back to the old calendar link
parent
a95353ab6d
commit
a200d65bf8
|
@ -15691,7 +15691,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
new_post_year = int(year_str)
|
||||
if new_post_year:
|
||||
path = path.split('?month=')[0]
|
||||
self.path = path
|
||||
# Various types of new post in the web interface
|
||||
new_post_endpoints = get_new_post_endpoints()
|
||||
for curr_post_type in new_post_endpoints:
|
||||
|
|
|
@ -595,10 +595,11 @@ def html_calendar(person_cache: {}, translate: {},
|
|||
html_keyboard_navigation(text_mode_banner, nav_links, nav_access_keys,
|
||||
month_name)
|
||||
|
||||
# '?month=' + str(month_number) + ';year=' + str(year) + \
|
||||
new_event_str = \
|
||||
'<br><center>\n<p>\n' + \
|
||||
'<a href="' + cal_actor + '/newreminder?month=' + \
|
||||
str(month_number) + ';year=' + str(year) + '" tabindex="2">➕ ' + \
|
||||
'<a href="' + cal_actor + '/newreminder' + \
|
||||
'" tabindex="2">➕ ' + \
|
||||
translate['Add to the calendar'] + '</a>\n</p>\n</center>\n'
|
||||
|
||||
calendar_icon_str = \
|
||||
|
|
Loading…
Reference in New Issue