Skip to content
Permalink
Browse files

Fix intro message, demo message

  • Loading branch information...
upvalue committed Jul 10, 2018
1 parent 38d7849 commit f3e0326bade2982ef126d5944f79ddb4bbb97faf
@@ -343,7 +343,7 @@ export function installRouter(base: string, first: string,
type: 'NOTIFICATION_OPEN',
notification: {
error: false,
message: ``,
message: `INTRO`,
},
});

@@ -1,7 +1,7 @@
import * as React from 'react';
import * as mousetrap from 'mousetrap';

import * as common from '../../common/index';
import * as common from '../../common';
import * as api from '../api';
import { modalContext, ModalProvider } from '../../common/modal';
import { Scope } from '../state';
@@ -3,7 +3,7 @@ import * as moment from 'moment';
import * as React from 'react';
import { times } from 'lodash';

import * as common from '../../common/index';
import * as common from '../../common';
import { OcticonButton, OcticonSpan }
from '../../common/components/OcticonButton';
import {
@@ -2,7 +2,7 @@ import * as React from 'react';
import * as moment from 'moment';
import { ModalProvider, modalContext } from '../../common/modal';

import * as common from '../../common/index';
import * as common from '../../common';
import { Scope } from '../state';
import { createCTask } from './Task';
import { OcticonButton } from '../../common/components/OcticonButton';
@@ -4,7 +4,7 @@ import * as moment from 'moment';
import { Scope, FilterState, ScopeType } from '../state';
import { routeForView } from '../main';
import { createCTask } from './Task';
import { PresentScope } from '../components/PresentScope';
import { PresentScope } from './PresentScope';

interface TimeScopeProps {
currentProject: number;
@@ -1,7 +1,7 @@
// state.ts - Habits state and backend interaction
import * as moment from 'moment';

import * as common from '../common/index';
import * as common from '../common';

export enum Status {
UNSET = -1,
@@ -4,7 +4,7 @@ import { groupBy } from 'lodash';

import * as common from '../../common';
import { Entry } from '../state';
import { CEntry } from '../components/CEntry';
import { CEntry } from './CEntry';
import { TimeNavigator } from '../../common/components/TimeNavigator';

interface ChronoSectionProps {
@@ -1,6 +1,6 @@
import * as React from 'react';
import { Entry } from '../state';
import { CEntry } from '../components/CEntry';
import { CEntry } from './CEntry';

export class BrowseTag extends React.PureComponent<{tagName: string, entries: Entry[]}, {}> {
render() {
@@ -3,7 +3,7 @@ import { TabPanel, Tab, TabList, Tabs } from 'react-tabs';

import { connect, DAY_FORMAT } from '../../common';
import { OcticonSpan } from '../../common/components/OcticonButton';
import { LinkTree, LinkTreeNode } from '../components/LinkTree';
import { LinkTree, LinkTreeNode } from './LinkTree';
import * as moment from 'moment';
import DatePicker from 'react-datepicker';
import route from 'riot-route';
@@ -18,10 +18,9 @@
<nav class="tabnav-tabs">
<span style="font-weight:bold">
meditations
{% if Config.Development %}
<span style="color:red;">(dev)</span>
{% else %}
{% if Config.Demo %}(demo){% endif %}
{% if Config.Demo %}<span style="color:red">(demo)</span>
{% elif Config.Development %}
<span style="color:red;">(dev)</span>
{% endif %}
</span>

0 comments on commit f3e0326

Please sign in to comment.
You can’t perform that action at this time.