Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

Commit

Permalink
#706: Add temporary inline styling to redirect messages.
Browse files Browse the repository at this point in the history
Closes #706.
  • Loading branch information
franzliedke committed Jul 13, 2012
1 parent dad5a78 commit d7f8d5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function get_topic($tid, $page = 1)

public function get_post($pid)
{
// If a post ID is specified we determine topic ID and page number so we can redirect to the correct message
// If a post ID is specified we determine topic ID and page number so we can show the correct message
$post = DB::table('posts')->where_id($pid)->select(array('topic_id', 'posted'))->first();

if ($post === NULL)
Expand Down
2 changes: 1 addition & 1 deletion views/layout/main.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

@if (Session::has('message'))
<div>
<p>{{ e(Session::get('message')) }}</p>
<p style="color: #9F6000; background-color: #FEEFB3; border: 1px solid #9F6000; padding: 5px; margin-bottom: 10px;">{{ e(Session::get('message')) }}</p>
</div>
@endif

Expand Down

0 comments on commit d7f8d5c

Please sign in to comment.