Changeset 3465

Show
Ignore:
Timestamp:
04/04/08 07:38:50 (6 months ago)
Author:
Blackhex
Message:

ScreenshotsPlugin:

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • screenshotsplugin/0.10/setup.py

    r3303 r3465  
    1515    'TracScreenshots.matrix_view = tracscreenshots.matrix_view', 
    1616    'TracScreenshots.wiki = tracscreenshots.wiki', 
    17     'TracScreenshots.tags = tracscreenshots.tags']}, 
     17    'TracScreenshots.tags = tracscreenshots.tags [Tags]']}, 
    1818  install_requires = [], 
     19  extras_require = {'Tags' : ['TracTags']}, 
    1920  keywords = 'trac screenshots', 
    2021  author = 'Radek Bartoň', 
  • screenshotsplugin/0.10/tracscreenshots/wiki.py

    r3313 r3465  
    191191            screenshot = api.get_screenshot(cursor, screenshot_id) 
    192192 
     193            self.log.debug((params, label, arguments)) 
     194 
    193195            # Return macro content 
    194196            if screenshot: 
     
    197199                  screenshot['description']) 
    198200            else: 
    199                 return html.a(arguments[0], href = formatter.href.screenshots(), 
    200                   title = params, class_ = 'missing') 
     201                return html.a(screenshot_id, href = 
     202                  formatter.href.screenshots(), title = params, class_ = 
     203                  'missing') 
    201204 
    202205    def _format_description(self, template, screenshot): 
  • screenshotsplugin/0.11/tracscreenshots/wiki.py

    r3313 r3465  
    203203                  screenshot['description']) 
    204204            else: 
    205                 return html.a(arguments[0], href = formatter.href.screenshots(), 
     205                return html.a(screenshot_id, href = formatter.href.screenshots(), 
    206206                  title = params, class_ = 'missing') 
    207207