Skip to content

Commit

Permalink
basic sharing: continuing work
Browse files Browse the repository at this point in the history
  • Loading branch information
madfriend committed Nov 6, 2015
1 parent b4b7c50 commit 16a59ed
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion ajax/game_mark_shown.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
if (!$user_id)
throw new UnexpectedValueException();

$badge_id = $_POST['badge_id'];
$am = new AchievementsManager($user_id);
$am->set_all_seen();

Expand Down
4 changes: 4 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1636,3 +1636,7 @@ tr.valign-top td {
.single-achievement-wrap .achievement-wrap {
margin-top: 30px;
}

.slim-header {
font-weight: 400;
}
2 changes: 1 addition & 1 deletion templates/achievements/one_achievement.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{extends file='common.tpl'}
{block name='content'}
<div class="single-achievement-wrap">
<h2>Бейдж пользователя
<h2 class="slim-header">Бейдж пользователя
<a href="{$web_prefix}/user.php?id={$user_id}">{$user['shown_name']}</a></h2>

{$a = $achievement}
Expand Down
1 change: 0 additions & 1 deletion templates/qa/user_splash.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<script>
$('.a-modal').on('shown', function() {
$.post("/ajax/game_mark_shown.php");
$(this).find('.bouncy').addClass("animated bounceIn");
// $.post("/ajax/game_mark_shown.php");
});
Expand Down

0 comments on commit 16a59ed

Please sign in to comment.