Initial representation for repeated notice
This commit is contained in:
parent
607e98ee11
commit
f8b187d5a4
|
@ -112,7 +112,9 @@ class RepeatAction extends Action
|
|||
$this->element('title', null, _('Repeated'));
|
||||
$this->elementEnd('head');
|
||||
$this->elementStart('body');
|
||||
$this->element('p', array('id' => 'repeat_response'), _('Repeated!'));
|
||||
$this->element('p', array('id' => 'repeat_response',
|
||||
'class' => 'repeated'),
|
||||
_('Repeated!'));
|
||||
$this->elementEnd('body');
|
||||
$this->elementEnd('html');
|
||||
} else {
|
||||
|
|
|
@ -627,7 +627,9 @@ class NoticeListItem extends Widget
|
|||
if ($user && $user->id != $this->notice->profile_id) {
|
||||
$profile = $user->getProfile();
|
||||
if ($profile->hasRepeated($this->notice->id)) {
|
||||
$this->out->text(_('Repeated'));
|
||||
$this->out->element('span', array('class' => 'repeated',
|
||||
'title' => _('Notice repeated')),
|
||||
_('Repeated'));
|
||||
} else {
|
||||
$rf = new RepeatForm($this->out, $this->notice);
|
||||
$rf->show();
|
||||
|
|
|
@ -964,7 +964,7 @@ float:left;
|
|||
font-size:0.95em;
|
||||
margin-left:59px;
|
||||
min-width:60%;
|
||||
max-width:74%;
|
||||
max-width:70%;
|
||||
}
|
||||
#showstream .notice div.entry-content,
|
||||
#shownotice .notice div.entry-content {
|
||||
|
@ -996,7 +996,7 @@ left:0;
|
|||
.notice-options {
|
||||
position:relative;
|
||||
font-size:0.95em;
|
||||
width:90px;
|
||||
width:125px;
|
||||
float:right;
|
||||
}
|
||||
|
||||
|
@ -1007,16 +1007,18 @@ float:left;
|
|||
.notice-options .notice_reply,
|
||||
.notice-options .form_repeat,
|
||||
.notice-options .form_favor,
|
||||
.notice-options .form_disfavor {
|
||||
.notice-options .form_disfavor,
|
||||
.notice-options .repeated {
|
||||
float:left;
|
||||
margin-left:20%;
|
||||
margin-left:14%;
|
||||
}
|
||||
.notice-options .form_favor,
|
||||
.notice-options .form_disfavor {
|
||||
margin-left:0;
|
||||
}
|
||||
.notice-options input,
|
||||
.notice-options a {
|
||||
.notice-options a,
|
||||
.notice-options .repeated {
|
||||
text-indent:-9999px;
|
||||
outline:none;
|
||||
}
|
||||
|
@ -1047,7 +1049,8 @@ display:none;
|
|||
border:0;
|
||||
padding:0;
|
||||
}
|
||||
.notice-options a {
|
||||
.notice-options a,
|
||||
.notice-options .repeated {
|
||||
width:16px;
|
||||
height:16px;
|
||||
}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
BIN
theme/base/images/icons/twotone/green/recycle-02.gif
Normal file
BIN
theme/base/images/icons/twotone/green/recycle-02.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 77 B |
|
@ -173,7 +173,8 @@ button.close,
|
|||
.entity_moderation p,
|
||||
.entity_sandbox input.submit,
|
||||
.entity_silence input.submit,
|
||||
.entity_delete input.submit {
|
||||
.entity_delete input.submit,
|
||||
.notice-options .repeated {
|
||||
background-image:url(../../base/images/icons/icons-01.gif);
|
||||
background-repeat:no-repeat;
|
||||
background-color:transparent;
|
||||
|
@ -338,6 +339,9 @@ background-position:0 -658px;
|
|||
.notice-options form.form_repeat input.submit {
|
||||
background-position:0 -1582px;
|
||||
}
|
||||
.notice-options .repeated {
|
||||
background-position:0 -1648px;
|
||||
}
|
||||
|
||||
.notices div.entry-content,
|
||||
.notices div.notice-options {
|
||||
|
|
|
@ -173,7 +173,8 @@ button.close,
|
|||
.entity_moderation p,
|
||||
.entity_sandbox input.submit,
|
||||
.entity_silence input.submit,
|
||||
.entity_delete input.submit {
|
||||
.entity_delete input.submit,
|
||||
.notice-options .repeated {
|
||||
background-image:url(../../base/images/icons/icons-01.gif);
|
||||
background-repeat:no-repeat;
|
||||
background-color:transparent;
|
||||
|
@ -337,6 +338,9 @@ background-position:0 -658px;
|
|||
.notice-options form.form_repeat input.submit {
|
||||
background-position:0 -1582px;
|
||||
}
|
||||
.notice-options .repeated {
|
||||
background-position:0 -1648px;
|
||||
}
|
||||
|
||||
.notices div.entry-content,
|
||||
.notices div.notice-options {
|
||||
|
|
Loading…
Reference in New Issue
Block a user