Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suppression lien communauty #24

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'); ?>