Menu

[r6179]: / trunk / gui / sharing / nav.py  Maximize  Restore  History

Download this file

35 lines (27 with data), 865 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from django_nav import Nav, NavOption
from django.utils.translation import ugettext as _
ICON = u'SharingIcon'
class ViewUNIX(NavOption):
name = _(u'View All UNIX Shares')
type = 'openunixshares'
icon = u'ViewAllUNIXSharesIcon'
app_name = 'sharing'
model = 'NFS_Share'
append_app = False
options = []
class ViewApple(NavOption):
name = _(u'View All Apple Shares')
type = 'openappleshares'
icon = u'ViewAllAppleSharesIcon'
app_name = 'sharing'
model = 'AFP_Share'
append_app = False
options = []
class ViewWin(NavOption):
name = _(u'View All Windows Shares')
type = 'openwinshares'
icon = u'ViewAllWindowsSharesIcon'
app_name = 'sharing'
model = 'CIFS_Share'
append_app = False
options = []
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.