parameters: (s, oid, otype)
return_statement: return html
docstring: Create HTML for a thumbnail view for the screenshot.
  
      :param s: The screenshot.
      :type s: :class:`crits.screenshots.screenshot.Screenshot`
      :param oid: The ObjectId of the top-level object it's associating with.
      :type oid: str
      :param otype: The type of top-level object it's associating with.
      :returns: str
docstring_summary: Create HTML for a thumbnail view for the screenshot.
docstring_tokens: Create HTML for a thumbnail view for the screenshot .
function: def create_screenshot_html(s, oid, otype):
      """
      Create HTML for a thumbnail view for the screenshot.
  
      :param s: The screenshot.
      :type s: :class:`crits.screenshots.screenshot.Screenshot`
      :param oid: The ObjectId of the top-level object it's associating with.
      :type oid: str
      :param otype: The type of top-level object it's associating with.
      :returns: str
      """
  
      if s.tags and s.description:
          description = s.description + ": " + ','.join(s.tags)
      else:
          description = s.md5
      description += " (submitted by %s)" % s.analyst
      html = '<a href="%s" title="%s" data-id="%s" data-dialog><img class="ss_no_bucket" src="%s">' % \
              (reverse('crits-screenshots-views-render_screenshot',
                      args=[s.id]),
              description,
              str(s.id),
              reverse('crits-screenshots-views-render_screenshot',
                      args=[s.id, 'thumb']))
      html += '<span class="remove_screenshot ui-icon ui-icon-trash" data-id="'
      html += '%s" data-obj="%s" data-type="%s" title="Remove from %s">' % (str(s.id),
                                                                            oid,
                                                                            otype,
                                                                            otype)
      html += '</span><span class="copy_ss_id ui-icon ui-icon-radio-on" '
      html += 'data-id="%s" title="Copy ID to clipboard"></span>' % str(s.id)
  
      return html
function_tokens: def create_screenshot_html ( s , oid , otype ) : if s . tags and s . description : description = s . description + ": " + ',' . join ( s . tags ) else : description = s . md5 description += " (submitted by %s)" % s . analyst html = '<a href="%s" title="%s" data-id="%s" data-dialog><img class="ss_no_bucket" src="%s">' % ( reverse ( 'crits-screenshots-views-render_screenshot' , args = [ s . id ] ) , description , str ( s . id ) , reverse ( 'crits-screenshots-views-render_screenshot' , args = [ s . id , 'thumb' ] ) ) html += '<span class="remove_screenshot ui-icon ui-icon-trash" data-id="' html += '%s" data-obj="%s" data-type="%s" title="Remove from %s">' % ( str ( s . id ) , oid , otype , otype ) html += '</span><span class="copy_ss_id ui-icon ui-icon-radio-on" ' html += 'data-id="%s" title="Copy ID to clipboard"></span>' % str ( s . id ) return html