#NEWLINE# @ property #NEWLINE# @ memoized #NEWLINE# def reminders_urls( self ) : #NEWLINE# #INDENT# reminders_urls = [ ] #NEWLINE# if self . can_access_reminders : #NEWLINE# #INDENT# from corehq.apps.reminders.views import EditScheduledReminderView , CreateScheduledReminderView , CreateComplexScheduledReminderView , RemindersListView #NEWLINE# reminders_urls . extend ( [ { #NEWLINE# #INDENT# 'title' : _ ( 'Reminders' ) , #NEWLINE# 'url' : reverse ( RemindersListView . urlname , args = [ self . domain ] ) , #NEWLINE# 'subpages' : [ { #NEWLINE# #INDENT# 'title' : _ ( 'Edit Reminder' ) , #NEWLINE# 'urlname' : EditScheduledReminderView . urlname , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'title' : _ ( 'Schedule Reminder' ) , #NEWLINE# 'urlname' : CreateScheduledReminderView . urlname , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'title' : _ ( 'Schedule Multi Event Reminder' ) , #NEWLINE# 'urlname' : CreateComplexScheduledReminderView . urlname , #NEWLINE# #UNINDENT# } ] , #NEWLINE# 'show_in_dropdown' : True , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'title' : _ ( 'Reminder Calendar' ) , #NEWLINE# 'url' : reverse ( 'scheduled_reminders' , args = [ self . domain ] ) , #NEWLINE# 'show_in_dropdown' : True , #NEWLINE# #UNINDENT# } ] ) #NEWLINE# #UNINDENT# if self . can_use_inbound_sms : #NEWLINE# #INDENT# from corehq.apps.reminders.views import KeywordsListView , AddNormalKeywordView , AddStructuredKeywordView , EditNormalKeywordView , EditStructuredKeywordView #NEWLINE# reminders_urls . append ( { #NEWLINE# #INDENT# 'title' : _ ( 'Keywords' ) , #NEWLINE# 'url' : reverse ( KeywordsListView . urlname , args = [ self . domain ] ) , #NEWLINE# 'subpages' : [ { #NEWLINE# #INDENT# 'title' : AddNormalKeywordView . page_title , #NEWLINE# 'urlname' : AddNormalKeywordView . urlname , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'title' : AddStructuredKeywordView . page_title , #NEWLINE# 'urlname' : AddStructuredKeywordView . urlname , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'title' : EditNormalKeywordView . page_title , #NEWLINE# 'urlname' : EditNormalKeywordView . urlname , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'title' : EditStructuredKeywordView . page_title , #NEWLINE# 'urlname' : EditStructuredKeywordView . urlname , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# return reminders_urls