Skip to content

Commit

Permalink
Merge pull request #24 from JEALG/beta
Browse files Browse the repository at this point in the history
suppression lien communauty
  • Loading branch information
zoic21 authored Sep 23, 2024
2 parents d2847af + 7a2e7f8 commit d208e64
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions desktop/php/netatmo.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@
<br />
<span>{{Santé}}</span>
</div>
<?php
$jeedomVersion = jeedom::version() ?? '0';
$displayInfo = version_compare($jeedomVersion, '4.4.0', '>=');
if ($displayInfo) {
echo '<div class="cursor eqLogicAction info" data-action="createCommunityPost">';
echo '<i class="fas fa-ambulance"></i><br>';
echo '<span>{{Community}}</span>';
echo '</div>';
}
?>
</div>
<legend><i class="fas fa-table"></i> {{Mes équipements Netatmo}}</legend>
<div class="input-group" style="margin:5px;">
Expand Down Expand Up @@ -160,40 +150,40 @@
<div class="col-sm-7">
<span class="eqLogicAttr tooltips label label-default" data-l1key="logicalId" style="font-size : 1em"></span>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{Firmware}}</label>
<div class="col-sm-7">
<span class="eqLogicAttr tooltips label label-default" data-l1key="configuration" data-l2key="firmware" style="font-size : 1em"></span>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{Maison}}</label>
<div class="col-sm-7">
<span class="eqLogicAttr tooltips label label-default" data-l1key="configuration" data-l2key="home_id" style="font-size : 1em"></span>
</div>
</div>
</div>

<div class="form-group">
<label class="col-sm-3 control-label">{{Bridge type}}</label>
<div class="col-sm-7">
<span class="eqLogicAttr tooltips label label-default" data-l1key="configuration" data-l2key="bridge_type" style="font-size : 1em"></span>
</div>
</div>
</div>

<div class="form-group">
<label class="col-sm-3 control-label">{{Bridge}}</label>
<div class="col-sm-7">
<span class="eqLogicAttr tooltips label label-default" data-l1key="configuration" data-l2key="bridge" style="font-size : 1em"></span>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{{Nombre d'équipement}}</label>
<div class="col-sm-7">
<span class="eqLogicAttr tooltips label label-default" data-l1key="configuration" data-l2key="devices-count" style="font-size : 1em"></span>
</div>
</div>
</div>

<br>
<div>
<center>
Expand Down Expand Up @@ -230,4 +220,4 @@
<!-- Inclusion du fichier javascript du plugin (dossier, nom_du_fichier, extension_du_fichier, nom_du_plugin) -->
<?php include_file('desktop', 'netatmo', 'js', 'netatmo'); ?>
<!-- Inclusion du fichier javascript du core - NE PAS MODIFIER NI SUPPRIMER -->
<?php include_file('core', 'plugin.template', 'js'); ?>
<?php include_file('core', 'plugin.template', 'js'); ?>

0 comments on commit d208e64

Please sign in to comment.