소스 검색

[FIX] protocol name

Gogs 7 년 전
부모
커밋
a1885a4048
2개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제
  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>