Working on L5

Also includes very minor meta tag changes to bring to industry standard.
This commit is contained in:
Jeramy Simpson 2015-04-02 14:09:32 +10:00
parent 515f6fd131
commit 37ca4c9481
5 changed files with 13 additions and 15 deletions

View File

@ -1,6 +1,7 @@
<?php namespace App\Http\Controllers;
use Auth;
use Datatable;
use Utils;
use View;
use URL;
@ -9,6 +10,7 @@ use Input;
use Session;
use Redirect;
use App\Models\Activity;
use App\Models\Client;
use App\Models\Contact;
use App\Models\Invoice;

View File

@ -21,7 +21,7 @@
->withAttributes(['class'=>'normalDropDown'])
->withContents([
['label' => trans('texts.edit_client'), 'url' => URL::to('clients/' . $client->public_id . '/edit')],
Navigation::NAVIGATION_DIVIDER,
DropdownButton::DIVIDER,
['label' => trans('texts.archive_client'), 'url' => "javascript:onArchiveClick()"],
['label' => trans('texts.delete_client'), 'url' => "javascript:onDeleteClick()"],
]

View File

@ -53,10 +53,10 @@
} ],
@endif
@foreach ($options as $k => $o)
{{ json_encode($k) }}: {{ json_encode($o) }},
{!! json_encode($k) !!}: {!! json_encode($o) !!},
@endforeach
@foreach ($callbacks as $k => $o)
{{ json_encode($k) }}: {{ $o }},
{!! json_encode($k) !!}: {!! $o !!},
@endforeach
"fnDrawCallback": function(oSettings) {
if (window.onDatatableReady) {

View File

@ -201,12 +201,11 @@
@endif
<!--
Want something changed? We're {{ link_to('https://github.com/hillelcoren/invoice-ninja', 'open source', array('target'=>'_blank')) }}, email us at {{ link_to('mailto:contact@invoiceninja.com', 'contact@invoiceninja.com') }}.
Want something changed? We're {!! link_to('https://github.com/hillelcoren/invoice-ninja', 'open source', array('target'=>'_blank')) !!}, email us at {!! link_to('mailto:contact@invoiceninja.com', 'contact@invoiceninja.com') !!}.
-->
</div>
</div>
</div>
@if (!Auth::check() || !Auth::user()->registered)
@ -381,9 +380,6 @@ Want something changed? We're {{ link_to('https://github.com/hillelcoren/invoice
<p>&nbsp;</p>
</body>
<script type="text/javascript">
function setTheme(id)

View File

@ -2,17 +2,17 @@
<html lang="en">
<head>
<title>Invoice Ninja | {{ isset($title) ? $title : ' ' . trans('public.title') }}</title>
<meta name="description" content="{{ isset($description) ? $description : trans('public.description') }}"></meta>
<meta name="description" content="{{ isset($description) ? $description : trans('public.description') }}" />
<!-- Source: https://github.com/hillelcoren/invoice-ninja -->
<!-- Version: {{ NINJA_VERSION }} -->
<meta charset="utf-8">
<meta property="og:site_name" content="Invoice Ninja"></meta>
<meta property="og:url" content="{{ SITE_URL }}"></meta>
<meta property="og:title" content="Invoice Ninja"></meta>
<meta property="og:image" content="{{ SITE_URL }}/images/social.jpg"></meta>
<meta property="og:description" content="Simple, Intuitive Invoicing."></meta>
<meta property="og:site_name" content="Invoice Ninja" />
<meta property="og:url" content="{{ SITE_URL }}" />
<meta property="og:title" content="Invoice Ninja" />
<meta property="og:image" content="{{ SITE_URL }}/images/social.jpg" />
<meta property="og:description" content="Simple, Intuitive Invoicing." />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="csrf-token" content="<?= csrf_token() ?>">
@ -21,7 +21,7 @@
<link href="//fonts.googleapis.com/css?family=Roboto:400,700,900,100" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Roboto+Slab:400,300,700" rel="stylesheet" type="text/css">
<link href="{{ asset('favicon.png') }}" rel="shortcut icon">
<link rel="canonical" href="{{ NINJA_APP_URL }}/{{ Request::path() }}"></link>
<link rel="canonical" href="{{ NINJA_APP_URL }}/{{ Request::path() }}" />
<script src="{{ asset('built.js') }}?no_cache={{ NINJA_VERSION }}" type="text/javascript"></script>