update index
This commit is contained in:
parent
86767e11b4
commit
d0077ff248
7
web/app/helpers/repeat-it.js
Normal file
7
web/app/helpers/repeat-it.js
Normal file
@ -0,0 +1,7 @@
|
||||
import Ember from 'ember';
|
||||
|
||||
export function repeatIt([val, t]) {
|
||||
return Ember.String.htmlSafe(Array(t).fill(val).join(''));
|
||||
}
|
||||
|
||||
export default Ember.Helper.helper(repeatIt);
|
@ -2,41 +2,52 @@
|
||||
{{#main-content}}
|
||||
<div class="col-sm-12">
|
||||
<h3>User tips: </h3>
|
||||
<p class="bold"> Customer Status:</p>
|
||||
<p> Active – Auto assigned, Active customer, with PO in current year</p>
|
||||
<p> Occasional – Auto assigned, Not very active, no PO in current year, but occasional PO within past 2 years</p>
|
||||
<p> Sleeping – Auto assigned, Sleeping customer and no PO within past 2 years, still use PUSH-PULL</p>
|
||||
<p> NA – Manually assigned, Not PUSH-PULL customer anymore</p>
|
||||
|
||||
<p class="bold"> LMCN Week Goals: </p>
|
||||
<p> 每次访客时100%向需要的客户推广:新产品、光纤、组件和技术研讨会。</p>
|
||||
<p class="bold">{{repeat-it ' ' 4}}Customer Status:</p>
|
||||
<p>{{repeat-it ' ' 8}}Active – Auto assigned, Active customer, with PO in current year</p>
|
||||
<p>{{repeat-it ' ' 8}}Occasional – Auto assigned, Not very active, no PO in current year, but occasional PO within past 2 years</p>
|
||||
<p>{{repeat-it ' ' 8}}Sleeping – Auto assigned, Sleeping customer and no PO within past 2 years, still use PUSH-PULL</p>
|
||||
<p>{{repeat-it ' ' 8}}NA – Manually assigned, Not PUSH-PULL customer anymore</p>
|
||||
|
||||
<p class="bold">{{repeat-it ' ' 4}}Customer Basic Information to collect: </p>
|
||||
<p>{{repeat-it ' ' 8}}General info: </p>
|
||||
<p>{{repeat-it ' ' 8}}Global Project (for CA only): </p>
|
||||
<p>{{repeat-it ' ' 8}}Cust. Core Business: </p>
|
||||
<p>{{repeat-it ' ' 8}}LEMO app: </p>
|
||||
<p>{{repeat-it ' ' 8}}LEMO rivals(%): </p>
|
||||
<p>{{repeat-it ' ' 8}}Cust. staff qty: </p>
|
||||
<p>{{repeat-it ' ' 8}}Cust. competitors: </p>
|
||||
|
||||
<p class="bold">{{repeat-it ' ' 4}}LMCN Week Goals: </p>
|
||||
<p>{{repeat-it ' ' 8}}每次访客时100%向需要的客户推广:新产品、光纤、组件和技术研讨会。</p>
|
||||
|
||||
<hr />
|
||||
<h3>Admin Tips: </h3>
|
||||
<p> Step 1 – Import Customers: QAD 2.2.23</p>
|
||||
<p> Step 2 – Import Sales Data: QAD 7.17.13</p>
|
||||
<p>{{repeat-it ' ' 4}}Step 1 – Import Customers: QAD 2.2.23</p>
|
||||
<p>{{repeat-it ' ' 4}}Step 2 – Import Sales Data: QAD 7.17.13</p>
|
||||
|
||||
{{!--
|
||||
{{!--
|
||||
User tips:
|
||||
Customer Status:
|
||||
Active – Auto assigned, Active customer, with PO in current year
|
||||
Occasional – Auto assigned, Not very active, no PO in current year, but occasional PO within past 2 years
|
||||
Sleeping – Auto assigned, Sleeping customer and no PO within past 2 years, still use PUSH-PULL
|
||||
NA – Manually assigned, Not PUSH-PULL customer anymore
|
||||
|
||||
Customer Basic Information to collect:
|
||||
General info:
|
||||
Global Project (for CA only):
|
||||
Cust. Core Business:
|
||||
LEMO app:
|
||||
LEMO rivals(%):
|
||||
Cust. staff qty:
|
||||
Cust. competitors:
|
||||
|
||||
LMCN Week Goals:
|
||||
每次访客时100%向需要的客户推广:新产品、光纤、组件和技术研讨会。
|
||||
|
||||
User Tips:
|
||||
Customer Status:
|
||||
|
||||
Active – Auto assigned, active customer, with PO in current year
|
||||
|
||||
Occasional – Auto assigned, not very active, no PO in current year, but occasional PO within past 2 years
|
||||
|
||||
Sleeping – Auto assigned, no PO in current year and in past 2 years, but still use PUSH-PULL
|
||||
|
||||
NA – Manually assigned, not PUSH-PULL customer anymore
|
||||
|
||||
|
||||
LMCN week goals:
|
||||
每次访客时100%向需要的客户推广:新产品、光纤、组件和技术研讨会。
|
||||
|
||||
Admin Tips:
|
||||
Step 1 – Import Customers: QAD 2.2.23
|
||||
|
||||
Step 2 – Import Sales Data: QAD 7.17.13
|
||||
|
||||
--}}
|
||||
--}}
|
||||
</div>
|
||||
{{/main-content}}
|
||||
{{/main-content}}
|
||||
|
17
web/tests/integration/helpers/repeat-it-test.js
Normal file
17
web/tests/integration/helpers/repeat-it-test.js
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
import { moduleForComponent, test } from 'ember-qunit';
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
|
||||
moduleForComponent('repeat-it', 'helper:repeat-it', {
|
||||
integration: true
|
||||
});
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it renders', function(assert) {
|
||||
this.set('inputValue', '1234');
|
||||
|
||||
this.render(hbs`{{repeat-it inputValue}}`);
|
||||
|
||||
assert.equal(this.$().text().trim(), '1234');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user