Remove v1 references

This commit is contained in:
James Cole
2022-01-29 14:17:25 +01:00
parent cb8b49fd7a
commit 1d26c12771
11 changed files with 15 additions and 15 deletions

View File

@@ -12,7 +12,7 @@
<link href="v1/lib/adminlte/css/AdminLTE.min.css?v={{ FF_VERSION }}" rel="stylesheet" type="text/css" nonce="{{ JS_NONCE }}">
{# favicons #}
{% include('v1.partials.favicons') %}
{% include('partials.favicons') %}
</head>
<body class="container">

View File

@@ -45,6 +45,6 @@
<a href="{{ route('password.reset.request') }}">{{ 'forgot_my_password'|_ }}</a>
</div>
{% include 'v1.partials.password-modal' %}
{% include 'partials.password-modal' %}
{% endblock %}

View File

@@ -6,6 +6,6 @@
<span class="input-group-addon non-selectable-currency-symbol">{{ selectedCurrency.symbol }}</span>
{{ Form.input('number', name, value, options) }}
</div>
{% include 'v1.form.feedback' %}
{% include 'form.feedback' %}
</div>
</div>

View File

@@ -4,7 +4,7 @@
{{ Breadcrumbs.render }}
{% endblock %}
{% block content %}
{% include 'v1.partials.boxes' %}
{% include 'partials.boxes' %}
<div class="row">
<div class="col-lg-8 col-md-12 col-sm-12">
{# ACCOUNTS #}
@@ -65,7 +65,7 @@
{% if data.transactions|length > 0 %}
<div class="box-body no-padding">
{% include 'v1.list.groups-tiny' with {'transactions': data.transactions,'account': data.account} %}
{% include 'list.groups-tiny' with {'transactions': data.transactions,'account': data.account} %}
</div>
{% else %}
<div class="box-body">

View File

@@ -261,7 +261,7 @@
{% endblock %}
{% block scripts %}
<script type="text/javascript" nonce="{{ JS_NONCE }}">
var deleteAPIRoute = '{{ route('api.v1.data.destroy') }}';
var deleteAPIRoute = '{{ route('api.data.destroy') }}';
var confirmText = '{{ trans('firefly.are_you_sure')|escape('js') }}';
$(document).ready(function () {
$('.confirm').on('click', function (e) {

View File

@@ -61,7 +61,7 @@
balance: formatAmountByAccount(account, auditData[account.id].dayBeforeBalance)
})|raw }}
</p>
{% include 'v1.reports.partials.journals-audit' with {'journals': auditData[account.id].journals,'account':account} %}
{% include 'reports.partials.journals-audit' with {'journals': auditData[account.id].journals,'account':account} %}
<p style="padding:10px;">

View File

@@ -13,7 +13,7 @@
</div>
{% if ruleGroups|length == 1 and ruleGroups[0].rules.count() == 0 %}
{% include 'v1.partials.empty' with {objectType: 'default', type: 'rules',route: route('rules.create')} %}
{% include 'partials.empty' with {objectType: 'default', type: 'rules',route: route('rules.create')} %}
{# make FF ignore demo for now. #}
{% set shownDemo = true %}
{% endif %}
@@ -185,7 +185,7 @@
</div>
{% endfor %}
{% include 'v1.rules.partials.test-trigger-modal' %}
{% include 'rules.partials.test-trigger-modal' %}
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">

View File

@@ -90,7 +90,7 @@
</div>
</div>
{% include 'v1.rules.partials.test-trigger-modal' %}
{% include 'rules.partials.test-trigger-modal' %}
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">

View File

@@ -72,7 +72,7 @@
</div>
</div>
{% include 'v1.rules.partials.test-trigger-modal' %}
{% include 'rules.partials.test-trigger-modal' %}
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">

View File

@@ -81,7 +81,7 @@
<a href="{{ route('transactions.create', [objectType]) }}" class="btn btn-success"><span class="fa fa-plus fa-fw"></span> {{ 'create_new_transaction'|_ }}</a>
</div>
{# actual list #}
{% include 'v1.list.groups' %}
{% include 'list.groups' %}
</div>
<div class="box-footer">
{# links for other views #}
@@ -103,7 +103,7 @@
{# boxes with info #}
{% if periods|length > 0 %}
<div class="col-lg-2 col-md-2 col-sm-12 col-xs-12">
{% include 'v1.list.periods' %}
{% include 'list.periods' %}
</div>
{% endif %}

View File

@@ -391,7 +391,7 @@
<h3 class="box-title">{{ 'attachments'|_ }}</h3>
</div>
<div class="box-body no-padding">
{% include 'v1.list.attachments' with {attachments: attachments[journal.transaction_journal_id]} %}
{% include 'list.attachments' with {attachments: attachments[journal.transaction_journal_id]} %}
</div>
</div>
{% endif %}
@@ -426,7 +426,7 @@
{% block scripts %}
<script type="text/javascript" nonce="{{ JS_NONCE }}">
var modalDialogURI = '{{ route('transactions.link.modal', ['%JOURNAL%']) }}';
var acURI = '{{ route('api.v1.autocomplete.transactions-with-id') }}';
var acURI = '{{ route('api.autocomplete.transactions-with-id') }}';
var groupURI = '{{ route('transactions.show',['%GROUP%']) }}';
var cloneGroupUrl = '{{ route('transactions.clone') }}';