Make hashtags clickable
Change-Id: I802c8a0e0bcdb0b3dce69b6ea4e68b9a36660e8a
This commit is contained in:
		
				
					committed by
					
						
						David Pursehouse
					
				
			
			
				
	
			
			
			
						parent
						
							28ecae5234
						
					
				
				
					commit
					49fc8fe7d2
				
			@@ -159,17 +159,20 @@ public class Hashtags extends Composite {
 | 
			
		||||
    while (itr.hasNext()) {
 | 
			
		||||
      String hashtagName = itr.next();
 | 
			
		||||
      html.openSpan()
 | 
			
		||||
          .setAttribute("role", "listitem")
 | 
			
		||||
          .setAttribute(DATA_ID, hashtagName)
 | 
			
		||||
          .setStyleName(style.hashtagName())
 | 
			
		||||
          .openAnchor()
 | 
			
		||||
          .setAttribute("href", "#" + PageLinks.toChangeQuery("hashtag:" + hashtagName))
 | 
			
		||||
          .setAttribute("role", "listitem")
 | 
			
		||||
          .append(hashtagName)
 | 
			
		||||
          .closeAnchor()
 | 
			
		||||
          .openElement("button")
 | 
			
		||||
          .setAttribute("title", "Remove hashtag")
 | 
			
		||||
          .setAttribute("onclick", REMOVE + "(event)")
 | 
			
		||||
          .append(
 | 
			
		||||
              new ImageResourceRenderer().render(Resources.I.remove_reviewer()))
 | 
			
		||||
          .closeElement("button");
 | 
			
		||||
      html.closeSpan();
 | 
			
		||||
          .closeElement("button")
 | 
			
		||||
          .closeSpan();
 | 
			
		||||
      if (itr.hasNext()) {
 | 
			
		||||
        html.append(' ');
 | 
			
		||||
      }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user