Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change to dtrader #24

Merged
merged 1 commit into from
May 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This repository contains the static HTML, Javascript, CSS, and images content of

## Installation

In order to work on your own version of the Deriv.app Javascript and CSS, please **fork this project**.
In order to work on your own version of the DTrader Javascript and CSS, please **fork this project**.

You will also need to install the following on your development machine:

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "deriv-com",
"version": "3.8.0",
"description": "Deriv.app content",
"description": "DTrader content",
"scripts": {
"test": "grunt test",
"livereload": "sudo -p 'enter password for sudo:' grunt livereload",
Expand All @@ -15,7 +15,7 @@
"keywords": [
"deriv"
],
"author": "Deriv.app",
"author": "DTrader",
"license": "Apache License 2.0",
"bugs": {
"url": "https://github.com/binary-com/deriv-com/issues"
Expand Down
4 changes: 2 additions & 2 deletions scripts/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const createContextBuilder = async (sections) => {
],
css_files : css_files_list[section],
languages : config.languages,
broker_name: 'Deriv.app',
broker_name: 'DTrader',
static_hash: static_hash[section],
});

Expand Down Expand Up @@ -243,7 +243,7 @@ async function compile(page) {

const tasks = languages.map(async lang => {
const model = {
website_name : 'Deriv.app',
website_name : 'DTrader',
title : page.title,
layout : page.layout,
language : lang.toUpperCase(),
Expand Down
2 changes: 1 addition & 1 deletion src/javascript/_common/lib/push_notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const BinaryPushwoosh = (() => {
logLevel : 'error', // or info or debug
applicationCode : 'D04E6-FA474',
safariWebsitePushID : 'web.com.binary',
defaultNotificationTitle: 'Deriv.app',
defaultNotificationTitle: 'DTrader',
defaultNotificationImage: urlForCurrentDomain('https://style.binary.com/images/logo/logomark.png'),
}]);
initialised = true;
Expand Down
2 changes: 1 addition & 1 deletion src/javascript/app_2/App/Constants/app-config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const website_name = 'Deriv.app';
export const website_name = 'DTrader';
export const default_title = website_name;
2 changes: 1 addition & 1 deletion src/root_files/_common/404.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Deriv.app</title>
<title>DTrader</title>
<meta charset="utf-8" />
<script type="text/javascript">
function getCookieItem(sKey) {
Expand Down
2 changes: 1 addition & 1 deletion src/root_files/app_2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
top.location = self.location;
}
</script>
<title>Deriv.app</title>
<title>DTrader</title>
<meta charset="utf-8" />
<meta name="google-site-verification" content="Myh35QddfEArh0686LcO2zMjrgv0C7L4FCBU0k0oZvU" />
<script type="text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion src/templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jsx Rules
- Use `<el attr={value || undefined}` to conditionally render an attribute, React omits attributes with null or undefined values.
- Use `it.L('...')` for translations.
- Use `it.url_for('...')` to build URLs.
- Use `it.website_name` instead of `Deriv.app`.
- Use `it.website_name` instead of `DTrader`.
- Do NOT use `<Element attributeName={true} />`; just use `<Element attributeName />`.
- Components with less than four arguments should stay list all in one line, for example:

Expand Down
6 changes: 3 additions & 3 deletions src/templates/app_2/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Deriv.app",
"short_name": "Deriv.app",
"description":"Deriv.app gives everyone an easy way to participate in the financial markets.",
"name": "DTrader",
"short_name": "DTrader",
"description":"DTrader gives everyone an easy way to participate in the financial markets.",
"start_url": "{start_url_base}/?utm_source=pwa",
"display": "standalone",
"orientation": "portrait",
Expand Down