N°1405 Add support of AttributePhoneNumber which allows launch of phone application on click.

SVN:trunk[5698]
This commit is contained in:
Guillaume Lajarige
2018-04-19 15:56:11 +00:00
parent 512f368cbf
commit 18bd0ae096
15 changed files with 199 additions and 67 deletions

View File

@@ -1,6 +1,6 @@
<?php
// Copyright (C) 2010-2017 Combodo SARL
// Copyright (C) 2010-2018 Combodo SARL
//
// This file is part of iTop.
//
@@ -19,14 +19,14 @@
namespace Combodo\iTop\Renderer\Bootstrap\FieldRenderer;
use \Exception;
use \ApplicationContext;
use \IssueLog;
use \Dict;
use \MetaModel;
use \AttributeFriendlyName;
use \Combodo\iTop\Renderer\FieldRenderer;
use \Combodo\iTop\Renderer\RenderingOutput;
use Exception;
use ApplicationContext;
use IssueLog;
use Dict;
use MetaModel;
use AttributeFriendlyName;
use Combodo\iTop\Renderer\FieldRenderer;
use Combodo\iTop\Renderer\RenderingOutput;
/**
* Description of BsLinkedSetFieldRenderer
@@ -43,6 +43,7 @@ class BsLinkedSetFieldRenderer extends FieldRenderer
public function Render()
{
$oOutput = new RenderingOutput();
$oOutput->AddCssClass('form_field');
$oOutput->AddCssClass('form_field_' . $this->oField->GetDisplayMode());
$sFieldMandatoryClass = ($this->oField->GetMandatory()) ? 'form_mandatory' : '';