better naming
This commit is contained in:
parent
0294a6eb74
commit
dbde71003b
4 changed files with 5 additions and 5 deletions
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 411 B |
|
@ -22,6 +22,6 @@ use Dotclear\Module\MyPlugin;
|
||||||
class My extends MyPlugin
|
class My extends MyPlugin
|
||||||
{
|
{
|
||||||
public const POST_READY = -100;
|
public const POST_READY = -100;
|
||||||
public const POST_REVIEW = -110;
|
public const POST_PROOFREAD = -110;
|
||||||
public const POST_DRAFT = -120;
|
public const POST_DRAFT = -120;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,10 +33,10 @@ class Prepend extends Process
|
||||||
(new Status(My::POST_DRAFT , My::id() . 'draft', 'Draft', 'Draft (>1)', My::fileURL('img/draft.svg'))),
|
(new Status(My::POST_DRAFT , My::id() . 'draft', 'Draft', 'Draft (>1)', My::fileURL('img/draft.svg'))),
|
||||||
)
|
)
|
||||||
&& App::status()->post()->set(
|
&& App::status()->post()->set(
|
||||||
(new Status(My::POST_REVIEW , My::id() . 'toproofread', 'To proofread', 'To proofread (>1)', My::fileURL('img/toproofread.svg'))),
|
(new Status(My::POST_PROOFREAD , My::id() . 'proofread', 'To proofread', 'To proofread (>1)', My::fileURL('img/proofread.svg'))),
|
||||||
)
|
)
|
||||||
&& App::status()->post()->set(
|
&& App::status()->post()->set(
|
||||||
(new Status(My::POST_READY , My::id() . 'fulfiled', 'Fulfilled', 'Fulfilled (>1)', My::fileURL('img/fulfilled.svg'))),
|
(new Status(My::POST_READY , My::id() . 'ready', 'Fulfilled', 'Fulfilled (>1)', My::fileURL('img/ready.svg'))),
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue