Ignore:
Timestamp:
Feb 11, 2015, 6:09:17 PM (9 years ago)
Author:
casties
Branch:
default
Message:

added links to admin interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationsResource.java

    r94 r99  
    7878            Reference url = this.getReference().clone();
    7979            url.addSegment(annotation.getUrlId());
    80             result += String.format("<tr><td><a href=\"%s\">%s</a></td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>\n", url,
    81                     annotation.getUri(), annotation.getBodyText(), annotation.getTargetBaseUri(), annotation.getTargetFragment(),
    82                     annotation.getCreatorName());
     80            result += String.format("<tr><td><a href=\"%s\">%s</a></td><td>%s</td><td><a href=\"%s\">%s</a></td><td>%s</td><td>%s</td></tr>\n", url,
     81                    annotation.getUri(), annotation.getBodyText(), annotation.getTargetBaseUri(), annotation.getTargetBaseUri(),
     82                    annotation.getTargetFragment(), annotation.getCreatorName());
    8383        }
    8484        result += "</table>\n";
Note: See TracChangeset for help on using the changeset viewer.