Refactor prices

#475
This commit is contained in:
Artur Beljajev 2017-04-26 00:51:06 +03:00
parent 5fdc1938af
commit 5a533e09bf
44 changed files with 1027 additions and 375 deletions

View file

@ -0,0 +1,32 @@
en:
admin:
billing:
prices:
index:
title: Prices
new_btn: New price
not_found: No price found
new:
title: New price
create:
created: Price has been created
edit:
title: Edit price
update:
updated: Price has been updated
destroy:
destroyed: Price has been deleted
form:
create_btn: Create price
update_btn: Update price
price:
edit_btn: Edit
delete_btn: Delete
delete_btn_confirm: Are you sure you want to delete price?

View file

@ -4,6 +4,7 @@ en:
users: Users
api_users: API users
admin_users: Admin users
prices: Prices
archive: Archive
domain_history: Domain history
contact_history: Contact history

View file

@ -297,7 +297,6 @@ en:
description: 'Description'
delete: 'Delete'
are_you_sure: 'Are you sure?'
are_you_sure_destroy: 'You are going to delete, are you sure?'
back: 'Back'
new_domain: 'New domain'
registrar_name: 'Registrar name'
@ -826,10 +825,7 @@ en:
webserver_missing_client_cert_directive: 'Webserver missing client cert directive'
webserver_client_cert_directive_should_be_required: 'Webserver client cert directive should be required'
tech: Tech contact
pricelists: Pricelists
new_pricelist: New Pricelist
valid: Valid
category: Zone
object_is_not_eligible_for_renewal: 'Object is not eligible for renewal'
domain_expiring: 'Domain expiring'
domain_validation_rules: 'Domain validation rules'

View file

@ -173,7 +173,7 @@ Rails.application.routes.draw do
resources :zones, controller: 'dns/zones', except: %i[show]
resources :legal_documents
resources :keyrelays
resources :pricelists
resources :prices, controller: 'billing/prices', except: %i[show]
resources :mail_templates
resources :account_activities