The license.txt file has been replaced with LICENSE for quite a while now. INAL but it didn't seem accurate to say "hey, checkout license.txt although there's no such file". Apart from this, there were inconsistencies in the headers altogether...this change brings consistency.
14 lines
No EOL
348 B
Python
14 lines
No EOL
348 B
Python
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
|
# License: MIT. See LICENSE
|
|
|
|
import frappe
|
|
from frappe import _
|
|
import frappe.www.list
|
|
|
|
no_cache = 1
|
|
|
|
def get_context(context):
|
|
if frappe.session.user=='Guest':
|
|
frappe.throw(_("You need to be logged in to access this page"), frappe.PermissionError)
|
|
|
|
context.show_sidebar=True |