We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f8b187d5 authored by Sarven Capadisli's avatar Sarven Capadisli

Initial representation for repeated notice

parent 607e98ee
......@@ -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;
}
......
theme/base/images/icons/icons-01.gif

3.08 KB | W: | H:

theme/base/images/icons/icons-01.gif

3.13 KB | W: | H:

theme/base/images/icons/icons-01.gif
theme/base/images/icons/icons-01.gif
theme/base/images/icons/icons-01.gif
theme/base/images/icons/icons-01.gif
  • 2-up
  • Swipe
  • Onion skin
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment