Merge pull request #338 from eReuse/bugfix/3741-serialnumber

fix name
This commit is contained in:
cayop 2022-09-12 11:55:04 +02:00 committed by GitHub
commit 22804b4409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -326,7 +326,7 @@ class NewDeviceForm(FlaskForm):
pallet = StringField('Identity of pallet', [validators.Optional()]) pallet = StringField('Identity of pallet', [validators.Optional()])
components = TextAreaField('Components', [validators.Optional()]) components = TextAreaField('Components', [validators.Optional()])
info = TextAreaField('Info', [validators.Optional()]) info = TextAreaField('Info', [validators.Optional()])
serial_number = StringField('Seria Number', [validators.Optional()]) serial_number = StringField('Serial Number', [validators.Optional()])
model = StringField('Model', [validators.Optional()]) model = StringField('Model', [validators.Optional()])
manufacturer = StringField('Manufacturer', [validators.Optional()]) manufacturer = StringField('Manufacturer', [validators.Optional()])
appearance = StringField('Appearance', [validators.Optional()]) appearance = StringField('Appearance', [validators.Optional()])

View File

@ -85,7 +85,7 @@
<div class="tab-content pt-2"> <div class="tab-content pt-2">
<div class="tab-pane fade show active" id="details"> <div class="tab-pane fade show active" id="details">
<h5 class="card-title">Details Real parth</h5> <h5 class="card-title">Details Real part</h5>
<div class="row mb-3"> <div class="row mb-3">
<div class="col-lg-3 col-md-4 label "> <div class="col-lg-3 col-md-4 label ">
(<a href="{{ url_for('inventory.device_edit', id=placeholder.device.devicehub_id)}}">Edit Device</a>) (<a href="{{ url_for('inventory.device_edit', id=placeholder.device.devicehub_id)}}">Edit Device</a>)
@ -119,7 +119,7 @@
</div> </div>
{% if placeholder.binding %} {% if placeholder.binding %}
<h5 class="card-title">Details Abstract parth</h5> <h5 class="card-title">Details Abstract part</h5>
<div class="row"> <div class="row">
<div class="col-lg-3 col-md-4 label ">Type</div> <div class="col-lg-3 col-md-4 label ">Type</div>
<div class="col-lg-9 col-md-8">{{ placeholder.binding.type }}</div> <div class="col-lg-9 col-md-8">{{ placeholder.binding.type }}</div>
@ -227,13 +227,13 @@
</div> </div>
<div class="tab-pane fade profile-overview" id="components"> <div class="tab-pane fade profile-overview" id="components">
<h5 class="card-title">Components Real parth</h5> <h5 class="card-title">Components Real part</h5>
<div class="list-group col-6"> <div class="list-group col-6">
{{ placeholder.components or '' }} {{ placeholder.components or '' }}
</div> </div>
{% if placeholder.binding %} {% if placeholder.binding %}
<h5 class="card-title">Components Abstract parth</h5> <h5 class="card-title">Components Abstract part</h5>
<div class="list-group col-6"> <div class="list-group col-6">
{% for component in placeholder.binding.components|sort(attribute='type') %} {% for component in placeholder.binding.components|sort(attribute='type') %}
<div class="list-group-item"> <div class="list-group-item">