Skip to content
Snippets Groups Projects
Commit b2078f01 authored by inso's avatar inso
Browse files

Merge branch 'dev' of https://github.com/ucoin-io/cutecoin into dev

parents ef0b69c4 2258f82f
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ class CommunityWidget(QWidget, Ui_CommunityWidget):
text += self.tr(" Block {0}").format(latest_block_number)
try:
block = yield from self.community.get_block(latest_block_number)
text += " ( {0} )".format(QLocale.toString(
text += " ({0})".format(QLocale.toString(
QLocale(),
QDateTime.fromTime_t(block['medianTime']),
QLocale.dateTimeFormat(QLocale(), QLocale.NarrowFormat)
......
......@@ -231,6 +231,7 @@ class MainWindow(QMainWindow, Ui_MainWindow):
<p>inso</p>
<p>vit</p>
<p>Moul</p>
<p>canercandan</p>
""").format(__version__, new_version_text=new_version_text)
......
......@@ -204,7 +204,8 @@ class WotTabWidget(QWidget, Ui_WotTabWidget):
node_status = 0
if identity == identity_account:
node_status += NODE_STATUS_HIGHLIGHTED
if identity.is_member(self.community) is False:
is_member = yield from identity.is_member(self.community)
if is_member is False:
node_status += NODE_STATUS_OUT
node_status += NODE_STATUS_SELECTED
graph.add_identity(identity, node_status)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment