Parcourir la source

[FIX] protocol name

Gogs il y a 7 ans
Parent
commit
a1885a4048
2 fichiers modifiés avec 8 ajouts et 8 suppressions
  1. 1 1
      models/socket.py
  2. 7 7
      views/print_engine_sockets.xml

+ 1 - 1
models/socket.py

@@ -5,7 +5,7 @@ AVAILABLE_PROTOCOLS = [
     ('ws', 'ws (WebSocket)'),
     ('wss', 'wss (WebSocket Seguro)'),
     ('http', 'http (HyperTexto)'),
-    ('https', 'http (HyperTexto Seguro)')
+    ('https', 'https (HyperTexto Seguro)')
 ]
 
 class PrintEngineSocket(models.Model):

+ 7 - 7
views/print_engine_sockets.xml

@@ -29,19 +29,19 @@
                     </header>
                     <sheet>
                         <h1>
-                            <field name="name" />
+                            <field name="name"/>
                         </h1>
                         <group>
-                            <field name="protocol" />
-                            <field name="host" />
-                            <field name="port" />
-                            <field name="path" />
-                            <field name="user_id" string="Usuario" groups="print_engine.printers_group" />
+                            <field name="protocol"/>
+                            <field name="host"/>
+                            <field name="port"/>
+                            <field name="path"/>
+                            <field name="user_id" string="Usuario" groups="print_engine.printers_group"/>
                         </group>
                     </sheet>
                     <notebook>
                         <page string="Impresoras">
-                            <field name="printer_ids" />
+                            <field name="printer_ids"/>
                         </page>
                     </notebook>
                 </form>