~jackweirdy/vidalia/680192

« back to all changes in this revision

Viewing changes to src/vidalia/network/RouterDescriptorView.cpp

  • Committer: Package Import Robot
  • Author(s): Ulises Vitulli
  • Date: 2013-05-11 11:07:13 UTC
  • mto: (1.4.10) (8.2.17 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20130511110713-8ay4xcid3s2lzfcy
ImportĀ upstreamĀ versionĀ 0.2.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
 
107
107
    /* Add the IP address and router platform information */
108
108
    html.append(trow(tcol(b(tr("IP Address:"))) + tcol(rd.ip().toString())));
109
 
    html.append(trow(tcol(b(tr("Platform:")))   + tcol(rd.platform())));
 
109
    if (!rd.platform().isEmpty())
 
110
      html.append(trow(tcol(b(tr("Platform:")))   + tcol(rd.platform())));
110
111
 
111
112
    /* If the router is online, then show the uptime and bandwidth stats. */
112
113
    if (!rd.offline()) {
121
122
    }
122
123
 
123
124
    /* Date the router was published */
124
 
    html.append(trow(tcol(b(tr("Last Updated:")))  +
125
 
                     tcol(string_format_datetime(rd.published()) + " GMT")));
 
125
    if (!rd.published().isNull())
 
126
      html.append(trow(tcol(b(tr("Last Updated:")))  +
 
127
                       tcol(string_format_datetime(rd.published()) + " GMT")));
126
128
 
127
129
    html.append("</table>");
128
130