Skip to content

Commit

Permalink
Display of user profiles
Browse files Browse the repository at this point in the history
Fixes 56 (B)
  • Loading branch information
Eric Eggert committed Aug 12, 2014
1 parent a9c07f1 commit 6fe6a8d
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,20 @@ <h2>More Information</h2>
<td><input name="testprofilesin" id="testprofile-<%= id %>" value="<%= id %>" type="radio" required></td>
<td>
<label for="testprofile-<%= id %>">
OS: <%= p.platform.name %> <%= p.assistiveTechnology.version.text %><br>
Browser: <%= p.userAgent.name %> <%= p.userAgent.version.text %><br>
Assistive Technology: <%= p.assistiveTechnology.name %> <%= p.assistiveTechnology.version.text %> <br>
Plugin: <%= p.plugin.name %> <%= p.plugin.version.text %>
<strong>
<% if(p.userAgent.name) { %>
Browser: <%= p.userAgent.name %> <%= p.userAgent.version.text %><br>
<% } %>
<% if(p.assistiveTechnology.name) { %>
Assistive Technology: <%= p.assistiveTechnology.name %> <%= p.assistiveTechnology.version.text %><br>
<% } %>
</strong>
<% if(p.plugin.name) { %>
Plugin: <%= p.plugin.name %> <%= p.plugin.version.text %> <br>
<% } %>
<% if(p.platform.name) { %>
Operating System: <%= p.platform.name %> <%= p.assistiveTechnology.version.text %>
<% } %>
</label>
</td>
</tr>
Expand Down

0 comments on commit 6fe6a8d

Please sign in to comment.