Roomedit - Sharing: swap layout
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 1 Jul 2012 09:01:27 +0000 (11:01 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 1 Jul 2012 09:01:27 +0000 (11:01 +0200)
  - if we change the sequence the tables appear, removing columns work.
  - split i18n text so there is no html inside.

webcit/static/t/room/edit/tab_share.html

index b1acd3cd82a47da9396f6d16e9a5c30e3cd37bbf..5b0715eaec0e6bdcfd4d28049287d1ef74f9a207 100644 (file)
@@ -2,8 +2,9 @@
        <br />
        <table border="1" cellpadding="5">
                <tr>
+                       <td><b><i><?_("Not shared with")></i></b></td>
                        <td><b><i><?_("Shared with")></i></b></td>
-                       <td><b><i><?_("Not shared with")></i></b></td></tr>
+               </tr>
                <tr>
                        <td valign="top">
                                <table border="0" cellpadding="5">
@@ -12,7 +13,7 @@
                                                <td><?_("Remote room name")></td>
                                                <td><?_("Actions")></td>
                                        </tr>
-                                       <?ITERATE("ITERATE:THISROOM:GNET", ="room_edit_shared_room_removal", 0, 0, -1, #"ignet_push_share")>
+                                       <?ITERATE("NODECONFIG", ="room_edit_shared_room_add")>
                                </table>
                        </td>
                        <td valign="top">
                                                <td><?_("Remote room name")></td>
                                                <td><?_("Actions")></td>
                                        </tr>
-                                       <?ITERATE("NODECONFIG", ="room_edit_shared_room_add")>
+                                       <?ITERATE("ITERATE:THISROOM:GNET", ="room_edit_shared_room_removal", 0, 0, -1, #"ignet_push_share")>
                                </table>
                        </td>
                </tr>
        </table>
        <br />
-       <i>
+       <div id="hints">
                <b><?_("Notes:")></b>
-               <ul>
+               <div><ul>
+                       <li>
+                               <?_("When sharing a room, it must be shared from both ends.  Adding a node to the 'shared' list sends messages out, but in order to receive messages, the other nodes must be configured to send messages out to your system as well.")>
                        <li>
-                               <?_("When sharing a room, it must be shared from both ends.  Adding a node to the 'shared' list sends messages out, but in order to receive messages, the other nodes must be configured to send messages out to your system as well. <li>If the remote room name is blank, it is assumed that the room name is identical on the remote node. <li>If the remote room name is different, the remote node must also configure the name of the room here.")>
+                         <?_("If the remote room name is blank, it is assumed that the room name is identical on the remote node.")>
+                       </li> <li>
+                         <?_("If the remote room name is different, the remote node must also configure the name of the room here.")>
                        </li>
-               </ul>
-       </i>
+               </ul></div>
+       </div>
        <br />
 </div>