Changeset 22aa7b6
- Timestamp:
- 05/14/12 12:08:22 (13 months ago)
- Branches:
- master
- Children:
- 7c6edb2
- Parents:
- 67f4304
- git-author:
- Martin Kolman <martin.kolman@…> (05/14/12 12:08:22)
- git-committer:
- Martin Kolman <martin.kolman@…> (05/14/12 12:08:22)
- File:
-
- 1 edited
-
modules/mod_info.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
modules/mod_info.py
r340d536 r22aa7b6 40 40 41 41 def getDiscussionUrls(self): 42 return [("http://talk.maemo.org/showthread.php?t=58861","Discussion@TMO")] 42 """ 43 return a list of modRana-relevant discussions, with the most relevant discussion on top 44 """ 45 return [("http://talk.maemo.org/showthread.php?t=58861","talk.maemo.org thread")] 46 47 def getMainDiscussionUrl(self): 48 """ 49 return Url to the most relevant modRana discussion 50 """ 51 return self.getDiscussionUrls()[0] 52 53 def getWebsiteUrl(self): 54 """ 55 return Url to the modRana website 56 """ 57 return "http://www.modrana.org" 58 59 def getSourceRepositoryUrl(self): 60 return "https://github.com/M4rtinK/modrana" 61 62 def getEmailAddress(self): 63 """ 64 return the project email address 65 """ 66 return "modrana@gmail.com" 67 68 def getAboutText(self): 69 www = self.getWebsiteUrl() 70 email = self.getEmailAddress() 71 source = self.getSourceRepositoryUrl() 72 discussion, name = self.getDiscussionUrls()[0] 73 text= "<p><b>main developer:</b> Martin Kolman</p>" 74 text+= '<p><b>email</b>: <a href="mailto:%s">%s</a></p>' % (email, email) 75 text+= '<p><b>www</b>: <a href="%s">%s</a></p>' % (www, www) 76 text+= '<p><b>source</b>:\n<a href="%s">%s</a></p>' % (source, source) 77 text+= '<p><b>discussion</b>: check <a href="%s">%s</a></p>' % (discussion, name) 78 return text 43 79 44 80 def drawMenu(self, cr, menuName, args=None):
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/gps_navigace/chrome/site/nlp-logo.png)