Skip to content

Commit

Permalink
Bugfix 0717 (#143)
Browse files Browse the repository at this point in the history
* fix #128; remove django specific version in document

* fix #140; resource link to official website
  • Loading branch information
wklken authored Jul 17, 2019
1 parent 2d86c19 commit 23ff1c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions paas-ce/paas/paas/templates/base_center.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- 左侧导航 start -->
<%block name='left_content'>
<%
user_center = app_create = app_center = developer_tool = newbie_guide = services = server = external_server = faq = esb = saas_center = resource =''
user_center = app_create = app_center = developer_tool = newbie_guide = services = server = external_server = faq = esb = saas_center = ''
relative_path = APP_PATH
if relative_path.startswith(SITE_URL + "accounts/profile/"):
user_center = 'selected'
Expand All @@ -25,8 +25,6 @@
newbie_guide = 'selected'
elif relative_path.startswith(SITE_URL + "saas/"):
saas_center = 'selected'
elif relative_path.startswith(SITE_URL + "resource/"):
resource = 'selected'
%>
<div class="menu_box" id="menuBar">
<dl class="menu no_extra" style="border-top:none;">
Expand Down Expand Up @@ -72,11 +70,12 @@
</dl>

<dl class="menu">
<dt class="menu_title clickable ${resource}">
<a href="${SITE_URL}resource/"> <i class="bk-icon icon-download f18 t_b mr10"></i>资源下载</a>
<dt class="menu_title clickable">
<a href="https://docs.bk.tencent.com/download/" target="_blank"> <i class="fa fa-download f23 mr10"></i>资源下载</a>
</dt>
</dl>


<!-- 超级管理员才有权限查看, NOTE: 合并一行, 为了自动化生成开源版本方便 -->
% if request.user.is_staff and request.user.is_superuser:
<!-- esb manage -->
Expand Down
4 changes: 2 additions & 2 deletions paas-ce/paas/paas/templates/guide/newbie.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@
<div class="king-timeline-item" style="overflow: hidden; display: none;">
<div class="king-timeline-body">
<ol class="guide-list">
<strong id='step4.2'>Django1.8数据库操作</strong>
<strong id='step4.2'>Django数据库操作</strong>

<div id="django18_db">
<p>蓝鲸智云应用使用Django1.8自带的Migration来管理数据库。Migration是django自带的同步models和数据库的数据迁移工具,Migration能够检测对models的更改并同步到数据库。</p>
<p>蓝鲸智云应用使用Django自带的Migration来管理数据库。Migration是django自带的同步models和数据库的数据迁移工具,Migration能够检测对models的更改并同步到数据库。</p>
<p>Migration的使用(<a href="###" id="show_migrate" class="show_simple_18">查看详细使用</a>)方法如下:</p>
<div id="simple_migrate" style="display: block;">
<ol>
Expand Down

0 comments on commit 23ff1c3

Please sign in to comment.