示例#1
0
    def __init__(self):
        Extension.__init__(self)

        self.url_hook = URLHook(self, patterns('',
            (r'^reports/', include('rbreports.urls'))))

        self.dashboard_hook = ReportsDashboardHook(self)
示例#2
0
    def __init__(self):
        Extension.__init__(self)

        self.activity_monitor = TemplateHook(
            self,
            "base-scripts-post",
            "rbstopwatch/activity_monitor.html",
            ["view_diff", "view_diff_revision", "view_screenshot"],
        )

        self.mousewheel_lib = TemplateHook(
            self,
            "base-scripts",
            "rbstopwatch/mousewheel_lib.html",
            ["view_diff", "view_diff_revision", "view_screenshot"],
        )

        self.review_display = TemplateHook(self, "review-summary-header-post", "rbstopwatch/review_summary_insert.html")

        self.stats_hook = RBStopwatchStatsTableEntry(self)
示例#3
0
 def __init__(self):
     Extension.__init__(self)
     self.stats_hook = RBKarmaStatsTableEntry(self)
示例#4
0
 def __init__(self):
     Extension.__init__(self)
示例#5
0
 def __init__(self):
     Extension.__init__(self)
     self.client = CIAClient(self)
示例#6
0
 def __init__(self):
     Extension.__init__(self)
     self.dashboard_hook = ExtBDashboardHook(self)
示例#7
0
 def __init__(self):
     Extension.__init__(self)
     self.dashboard_hook = RBStatsDashboardHook(self)
     self.url_hook = URLHook(self, patterns("", (r"^rbstats/", include("rbstats.urls"))))
示例#8
0
    def __init__(self):
        Extension.__init__(self)

        URLHook(self, patterns("", (r"^iphone/", include("rbiphone.urls"))))
        TemplateHook(self, "base-after-navbar", "rbiphone/iphone_link.html")