Linking directly from Your tags instead of Tag user

darcs-hash:20081121031811-eefa4-80ec886c93a3357baffe332a5bf19214e8b64e93.gz
This commit is contained in:
csarven 2008-11-20 22:18:11 -05:00
parent 6af0534ea7
commit 2918a217ee
2 changed files with 8 additions and 10 deletions

View File

@ -148,7 +148,12 @@ class ProfileList {
if ($tags) {
common_element_start('div', 'tags_user');
common_element_start('dl');
common_element('dt', null, _("Your tags:"));
common_element_start('dt');
common_element('a', array('href' => common_local_url('tagother',
array('id' => $this->profile->id))),
_('Your tags'));
common_text(":");
common_element_end('dt');
common_element_start('dd');
common_element_start('ul', 'tags xoxo');
foreach ($tags as $tag) {
@ -167,9 +172,7 @@ class ProfileList {
}
common_element_start('p', 'tag_user');
common_element('a', array('href' => common_local_url('tagother',
array('id' => $this->profile->id))),
_('Tag user'));
common_element_end('p');
}
}

View File

@ -861,10 +861,6 @@ font-size: 60%;
.tags_user {
margin-left:4.5em;
}
.tags_self,
.tags_user {
/*float:right;*/
}
.tags_self dl,
.tags_user dl {
margin-left:0;
@ -872,8 +868,8 @@ margin-left:0;
.tags_self dt,
.tags_user dt {
/*display:none;*/
display:inline;
margin-right:0.5em;
}
.tags_self dd,
@ -900,7 +896,6 @@ line-height:1.5;
}
.tag_user {
text-align:right;
margin-top:0;
margin-bottom:0;