git-svn-id: https://msi/svn/firstRepo/WebClient/branches/Manut_3.0.1@67 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2016-02-15 21:44:07 +00:00
parent 46a2a29aad
commit 939e42f8fc
2 changed files with 25 additions and 2 deletions
+21 -1
View File
@@ -8,7 +8,27 @@
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="theme-color" content="#3b5998">
<!-- Meta tag per FB-->
<meta property="og:locale" content="it_IT"/>
<meta property="og:site_name" content="Il Lievitario"/>
<meta itemprop="name" content="Home - Il Lievitario"/>
<?php
$reqURI = $_SERVER['REQUEST_URI'];
$ogFbTitle = "Home - Il Lievitario";
$ogFbUrl = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$ogFbType = "website";
$ogFbImage = "http://app.gruppolapastamadre.it/previewLink.png";
$ogFbDescription = "Ricettario web del il Gruppo la pasta madre";
echo $_SERVER['REQUEST_URI'];
if(strpos($reqURI, "/#ricetta/") !== false)
{}
?>
<meta property="og:title" content="<?php echo $ogFbTitle; ?>"/>
<meta property="og:url" content="<?php echo $ogFbUrl; ?>"/>
<meta property="og:type" content="<?php echo $ogFbType; ?>"/>
<meta property="og:image" content="<?php echo $ogFbImage; ?>"/>
<meta property="og:description" content="<?php echo $ogFbDescription; ?>" />
<meta property="description" content="<?php echo $ogFbDescription; ?>" />
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" >
<link rel="stylesheet" href="css/style.min.<?php echo filemtime('css/style.min.css'); ?>.css">
<link href='http://fonts.googleapis.com/css?family=Pompiere' rel='stylesheet' type='text/css'>
+4 -1
View File
@@ -90,8 +90,11 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/item/itemViewTemplate.
var countImgLoaded = 0;
Profile.existRicettaBloccoNote(ric.ricetta_id,
function (exist) {
var ric = self.collRicetta.toJSON()[0];
self.$el.append(self.template({
ricetta: self.collRicetta.toJSON()[0],
ricetta: ric,
ingredienti: self.collIngredienti.toJSON(),
profile: Profile,
//images: Images,